Filter hook 'get_the_modified_time'

in WP Core File wp-includes/general-template.php at line 2919

Description

Filters the localized time a post was last modified.

Occurrences

Filename Line Number
wp-includes/general-template.php 2919

Parameters

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 was modified. Accepts 'G', 'U', or PHP date format.
WP_Post|null $post WP_Post object or null if no post is found.

PHP Doc

/**
	 * 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.
	 */