Description
Filters the document title before it is generated. Passing a non-empty value will short-circuit wp_get_document_title(), returning that value instead.
Occurrences
Filename | Line Number |
---|---|
wp-includes/general-template.php | 1188 |
Parameters
Type | Name | Description |
---|---|---|
string | $title | The document title. Default empty string. |
PHP Doc
/**
* 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.
*/