Filters the parts of the page title.
$prefix = '', $display = true
Sortie :
@param string[] $title_array Array of parts of the page title. @param string $title Page title. @param string $sep Title separator. @param string $seplocation Location of the separator (either 'left' or 'right'). @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_post_title
$result = single_post_title($prefix = '', $display = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...