W3cubDocs

/WordPress

apply_filters( ‘document_title_separator’, string $sep )

Filters the separator for the document title.

Parameters

$sepstring
Document title separator. Default '-'.

Source

$sep = apply_filters( 'document_title_separator', '-' );

Changelog

Version Description
4.4.0 Introduced.

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