Filters the time of the post, for display.
$format = '', $post = null
Sortie :
@param string $get_the_time The formatted time. @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 Post ID or post object. Default is global `$post` object. @return string|int|false Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
// Utilisation de la fonction get_the_time
$result = get_the_time($format = '', $post = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...