WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
1498 | * |
1499 | * @param string $d Optional Either 'G', 'U', or php date format defaults to the value specified in the time_format option. |
1500 | * @return string |
1501 | */ |
1502 | function get_the_modified_time($d = '') { |
1503 | if ( '' == $d ) |
1504 | $the_time = get_post_modified_time(get_option('time_format'), null, null, true); |
1505 | else |
1506 | $the_time = get_post_modified_time($d, null, null, true); |
1507 | return apply_filters('get_the_modified_time', $the_time, $d); |
1508 | } |
1509 |
|
1510 | /** |
1511 | * Retrieve the time at which the post was last modified. |
1512 | * |
1513 | * @since 2.0.0 |
1514 | * |
1515 | * @param string $d Optional, default is 'U'. Either 'G', 'U', or php date format. |
1516 | * @param bool $gmt Optional, default is false. Whether to return the gmt time. |