Overwrites the default protected and private title format. By default, WordPress will show password protected or private posts with a title of "Protected: %s" or "Private: %s", as the REST API communicates the status of a post in a machine-readable format, we remove the prefix.
N/A
Sortie :
@return string Title format.
// Utilisation de la fonction protected_title_format
$result = protected_title_format();
if ($result) {
// Votre logique ici
}
Chargement des actualités...