pre_get_document_title

Advertisement

Summery Summery

Filters the document title before it is generated.

Syntax Syntax

apply_filters( 'pre_get_document_title', string $title )

Description Description

Passing a non-empty value will short-circuit wp_get_document_title(), returning that value instead.

Parameters Parameters

$title

The document title. Default empty string.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply