document_title WordPress Filter Hook
The document_title hook is used to filter the document title before it is generated. This hook is called at the end of wp_title() function.
apply_filters( 'document_title', string $title ) #
Filters the document title.
Parameters
- $title
(string)Document title.
Source
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |