Yoast\WP\SEO\Editors\Framework\Seo\Terms

Social_Data_Provider::use_social_templates │ public │ Yoast 1.0

Determines whether the social templates should be used.

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

Хуков нет.

Возвращает

bool. Whether the social templates should be used.

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

$Social_Data_Provider = new Social_Data_Provider();
$Social_Data_Provider->use_social_templates(): bool;

Код Social_Data_Provider::use_social_templates() Yoast 28.9

public function use_social_templates(): bool {
	return $this->options_helper->get( 'opengraph', false ) === true;
}