Yoast\WP\SEO\Abilities\Infrastructure

Abstract_SEO_Field_Map::get_boolean_fields │ protected │ Yoast 1.0

Returns the boolean input fields mapped to the indexable column they write to.

Excludes noindex, which is tri-state (null resets to the default) and is handled separately.

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

Хуков нет.

Возвращает

array<string, string>. The boolean fields.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_boolean_fields(): array;

Код Abstract_SEO_Field_Map::get_boolean_fields() Yoast 28.9

abstract protected function get_boolean_fields(): array;