Yoast\WP\SEO\Abilities\User_Interface\Abilities

Abstract_SEO_Data_Ability::is_available │ public │ Yoast 1.0

Returns whether the ability is available: the SEO data is read from and written to the indexables, so they must be built.

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

Хуков нет.

Возвращает

bool. Whether the ability is available.

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

$Abstract_SEO_Data_Ability = new Abstract_SEO_Data_Ability();
$Abstract_SEO_Data_Ability->is_available(): bool;

Код Abstract_SEO_Data_Ability::is_available() Yoast 28.9

public function is_available(): bool {
	return $this->should_index_indexables_conditional->is_met();
}