Hooks::filter_document_title_parts( string $title )
Filters the wp_get_document_title template tag.
Contents
This is the template tag introduced in WP 4.4 to get the page title.
Parameters
- $title
-
(string) (Required) The page title.
Return
(string) The modified page title, if required.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_document_title_parts( $title ) {
return $this->container->make( Title::class )->filter_document_title_parts( $title );
}
Changelog
| Version | Description |
|---|---|
| 4.9.10 | Introduced. |