Yoast\WP\SEO\Editors\Framework\Seo

Title_Data_Provider_Interface{}Yoast 1.0

Хуков нет.

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

$Title_Data_Provider_Interface = new Title_Data_Provider_Interface();
// use class methods

Методы

  1. public get_title_template( bool $fallback = true )

Код Title_Data_Provider_Interface{} Yoast 25.1

interface Title_Data_Provider_Interface {

	/**
	 * Retrieves the title template.
	 *
	 * @param bool $fallback Whether to return the hardcoded fallback if the template value is empty. Default true.
	 *
	 * @return string The title template.
	 */
	public function get_title_template( bool $fallback = true ): string;
}