wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_get_document_title › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
apply_filters( 'pre_get_document_title', '' )
Parametry:
  • (string) $title The document title. Default empty string.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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