wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_get_document_title › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
apply_filters( 'pre_get_document_title', '' )
Parametri:
  • (string) $title The document title. Default empty string.
    Richiesto:
Definito a:
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.





Sorgenti

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