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.


Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.