Hooks::filter_document_title_parts( string $title )

Filters the wp_get_document_title template tag.

This is the template tag introduced in WP 4.4 to get the page title.


Parameters

$title

(string) (Required) The page title.


Top ↑

Return

(string) The modified page title, if required.


Top ↑

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 );
	}

Top ↑

Changelog

Changelog
Version Description
4.9.10 Introduced.