ACF\AI\GEO

SchemaData::get_property_domainspublic staticACF 6.8.0

Get the property domain mappings

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

Method of the class: SchemaData{}

No Hooks.

Returns

Array.

Usage

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

Changelog

Since 6.8.0 Introduced.

SchemaData::get_property_domains() code 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;
}