Yoast\WP\SEO\Abilities\Infrastructure

Abstract_Field_Map::get_fields │ public │ Yoast 1.0

Returns the writable fields, mapped to their JSON schema.

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

Хуков нет.

Возвращает

array<string,. array<string, mixed>> The JSON schema of each field, keyed by field name.

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

$Abstract_Field_Map = new Abstract_Field_Map();
$Abstract_Field_Map->get_fields(): array;

Код Abstract_Field_Map::get_fields() Yoast 28.9

public function get_fields(): array {
	$this->resolve_fields();

	return $this->fields;
}