Yoast\WP\SEO\Editors\Framework\Seo\Posts

Social_Data_Provider::get_social_title_template()publicYoast 1.0

Retrieves the social title template.

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

Хуков нет.

Возвращает

Строку. The social title template.

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

$Social_Data_Provider = new Social_Data_Provider();
$Social_Data_Provider->get_social_title_template(): string;

Код Social_Data_Provider::get_social_title_template() Yoast 25.1

public function get_social_title_template(): string {
	if ( $this->use_social_templates ) {
		return $this->get_social_template( 'title' );
	}

	return '';
}