WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_the_modified_time

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 2897 /**
* Filters the localized time a post was last modified.
*
* @since 2.0.0
* @since 4.6.0 Added the `$post` parameter.
*
* @param string|int|false $the_time The formatted time or false if no post is found.
* @param string $format Format to use for retrieving the time the post
* was modified. Accepts 'G', 'U', or PHP date format.
* @param WP_Post|null $post WP_Post object or null if no post is found.
*/

Hook Parameters

Parameter Type Name Description
string|int|false $the_time The formatted time or false if no post is found.
string $format Format to use for retrieving the time the post
WP_Post|null $post WP_Post object or null if no post is found.