WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_get_document_title

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 1168 /**
* Filters the document title before it is generated.
*
* Passing a non-empty value will short-circuit wp_get_document_title(),
* returning that value instead.
*
* @since 4.4.0
*
* @param string $title The document title. Default empty string.
*/

Hook Parameters

Parameter Type Name Description
string $title The document title. Default empty string.