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