Yoast\WP\SEO\Integrations\Third_Party
Elementor::is_meta_value_disabled() public Yoast 1.0
Determines if the given meta value key is disabled.
{} Это метод класса: Elementor{}
Хуков нет.
Возвращает
true/false. Whether the given meta value key is disabled.
Использование
$Elementor = new Elementor(); $Elementor->is_meta_value_disabled( $key );
- $key(строка) (обязательный)
- The key of the meta value.
Код Elementor::is_meta_value_disabled() Elementor::is meta value disabled Yoast 15.6.2
public function is_meta_value_disabled( $key ) {
if ( $key === 'linkdex' && ! $this->seo_analysis->is_enabled() ) {
return true;
}
if ( $key === 'content_score' && ! $this->readability_analysis->is_enabled() ) {
return true;
}
return false;
}