wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_get_document_title › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
› apply_filters( 'pre_get_document_title', '' )
Paramètres:
  • () title The document title. Default empty string.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the document title before it is generated.

Passing a non-empty value will short-circuit wp_get_document_title(), returning that value instead.




Source

$title = apply_filters( 'pre_get_document_title', '' );