Yoast\WP\SEO\Abilities\Infrastructure

Site_Representation_Field_Map::get_fields │ public │ Yoast 1.0

Returns the writable site representation fields, mapped to their JSON schema.

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

Хуков нет.

Возвращает

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

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

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

Код Site_Representation_Field_Map::get_fields() Yoast 28.8

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

	return $this->fields;
}