Yoast\WP\SEO\Editors\Framework

Keyphrase_Analysis::is_user_enabled()publicYoast 1.0

If this analysis is enabled by the user.

Метод класса: Keyphrase_Analysis{}

Хуков нет.

Возвращает

true|false. If this analysis is enabled by the user.

Использование

$Keyphrase_Analysis = new Keyphrase_Analysis();
$Keyphrase_Analysis->is_user_enabled(): bool;

Код Keyphrase_Analysis::is_user_enabled() Yoast 25.1

public function is_user_enabled(): bool {
	return ! \get_user_meta( \get_current_user_id(), 'wpseo_keyword_analysis_disable', true );
}