the_time

FUNCTION wp-includes\general-template.php (ligne 2805) github
Filters the date a post was last modified.

Paramètres

Entrée :
$format = ''
Sortie :
@param string|int|false $the_time The formatted date or false if no post is found.
@param string           $format   PHP date format.
@param WP_Post|null     $post     WP_Post object or null if no post is found.
@param string $format Optional. Format to use for retrieving the time the post

Utilisation

// Utilisation de la fonction the_time
$result = the_time($format = '');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...