Yoast\WP\SEO\Editors\Framework\Seo

Title_Data_Provider_Interface::get_title_template()publicYoast 1.0

Retrieves the title template.

Метод класса: Title_Data_Provider_Interface{}

Хуков нет.

Возвращает

Строку. The title template.

Использование

$Title_Data_Provider_Interface = new Title_Data_Provider_Interface();
$Title_Data_Provider_Interface->get_title_template( $fallback ): string;
$fallback(true|false)
Whether to return the hardcoded fallback if the template value is empty.
По умолчанию: true

Код Title_Data_Provider_Interface::get_title_template() Yoast 25.1

public function get_title_template( bool $fallback = true ): string;