apply_filters( 'pre_get_document_title', string $title )
Filters the document title before it is generated.
Description Description
Passing a non-empty value will short-circuit wp_get_document_title(), returning that value instead.
Parameters Parameters
- $title
-
(string) The document title. Default empty string.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |