WPSEO_Metabox_Analysis_SEO::is_user_enabled()
Whether or not this analysis is enabled by the user.
Метод класса: WPSEO_Metabox_Analysis_SEO{}
Хуков нет.
Возвращает
true|false
. Whether or not this analysis is enabled by the user.
Использование
$WPSEO_Metabox_Analysis_SEO = new WPSEO_Metabox_Analysis_SEO(); $WPSEO_Metabox_Analysis_SEO->is_user_enabled();
Код WPSEO_Metabox_Analysis_SEO::is_user_enabled() WPSEO Metabox Analysis SEO::is user enabled Yoast 24.6
public function is_user_enabled() { return ! get_the_author_meta( 'wpseo_keyword_analysis_disable', get_current_user_id() ); }