Filters the post type archive title.
$prefix = '', $display = true
Sortie :
@param string $post_type_name Post type 'name' label. @param string $post_type Post type. @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.
// Utilisation de la fonction single_cat_title
$result = single_cat_title($prefix = '', $display = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...