get_feed_build_date

FUNCTION wp-includes\feed.php (ligne 689) github
Filters the current feed URL.

Paramètres

Entrée :
$format
Sortie :
@param string $feed_link The link for the feed with set URL scheme.
@param string $format Date format string to return the time in.
@return string|false The time in requested format, or false on failure.

Utilisation

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

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

Actualités

Chargement des actualités...