W3cubDocs

/WordPress

apply_filters( ‘document_title’, string $title )

Filters the document title.

Parameters

$titlestring
Document title.

Source

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

Changelog

Version Description
5.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/document_title