WPSEO_Term_Metabox_Formatter::is_insights_enabled
Determines whether the insights feature is enabled for this taxonomy.
Метод класса: WPSEO_Term_Metabox_Formatter{}
Хуков нет.
Возвращает
bool.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->is_insights_enabled();
Код WPSEO_Term_Metabox_Formatter::is_insights_enabled() WPSEO Term Metabox Formatter::is insights enabled Yoast 28.5
protected function is_insights_enabled() {
return WPSEO_Options::get( 'enable_metabox_insights', false );
}