Filters the localized time a post was last modified, for display.
$format = '', $post = null
Sortie :
@param string|false $get_the_modified_time The formatted time or false if no post is found. @param string $format Format to use for retrieving the time the post @param string $format Optional. Format to use for retrieving the time the post @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post. @return string|int|false Formatted date string or Unix timestamp. False on failure.
// Utilisation de la fonction get_the_modified_time
$result = get_the_modified_time($format = '', $post = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...