Yoast\WP\SEO\Editors\Framework\Seo\Terms
Social_Data_Provider::use_social_templates
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() Social Data Provider::use social templates Yoast 28.9
public function use_social_templates(): bool {
return $this->options_helper->get( 'opengraph', false ) === true;
}