feed_content_type

FUNCTION wp-includes\feed.php (ligne 748) github
Filters the date the last post or comment in the query was modified.

Paramètres

Entrée :
$type = ''
Sortie :
@param string|false $max_modified_time Date the last post or comment was modified in the query, in UTC.
@param string       $format            The date format requested in get_feed_build_date().
@param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
@return string Content type for specified feed type.

Utilisation

// Utilisation de la fonction feed_content_type
$result = feed_content_type($type = '');

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

Actualités

Chargement des actualités...