Filters the page title for a single post.
$prefix = '', $display = true
Sortie :
@param string $_post_title The single post page title. @param WP_Post $_post The current post. @param string $prefix Optional. What to display before the title. @param bool $display Optional. Whether to display or retrieve title. Default true. @return string|void Title when retrieving, null when displaying or failure.
// Utilisation de la fonction post_type_archive_title
$result = post_type_archive_title($prefix = '', $display = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...