WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_post_modified_time

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 2954 /**
* Filters the localized time a post was last modified.
*
* @since 2.8.0
*
* @param string|int $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
* @param string $format Format to use for retrieving the time the post was modified.
* Accepts 'G', 'U', or PHP date format. Default 'U'.
* @param bool $gmt Whether to retrieve the GMT time. Default false.
*/

Hook Parameters

Parameter Type Name Description
string|int $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
string $format Format to use for retrieving the time the post was modified.
bool $gmt Whether to retrieve the GMT time. Default false.