WPSEO_Term_Metabox_Formatter::use_social_templates()
Determines whether the social templates should be used.
Метод класса: WPSEO_Term_Metabox_Formatter{}
Хуков нет.
Возвращает
true|false
. Whether the social templates should be used.
Использование
$WPSEO_Term_Metabox_Formatter = new WPSEO_Term_Metabox_Formatter(); $WPSEO_Term_Metabox_Formatter->use_social_templates();
Код WPSEO_Term_Metabox_Formatter::use_social_templates() WPSEO Term Metabox Formatter::use social templates Yoast 24.6
public function use_social_templates() { return WPSEO_Options::get( 'opengraph', false ) === true; }