ACF\AI\GEO

SchemaData::get_property_domains │ public static │ ACF 6.8.0

Get the property domain mappings

Maps each property to the types it can be used with. For example: 'prepTime' => ['HowTo', 'HowToDirection']

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

Хуков нет.

Возвращает

array.

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

$result = SchemaData::get_property_domains(): array;

Список изменений

С версии 6.8.0 Введена.

Код SchemaData::get_property_domains() ACF 6.8.8

public static function get_property_domains(): array {
	if ( self::$property_domains === null ) {
		self::$property_domains = require __DIR__ . '/data/property-domains.php';
	}
	return self::$property_domains;
}