ACF\AI\GEO

SchemaData::get_property_rangespublic staticACF 6.8.0

Get the property range mappings

Maps each property to the types it expects as values. For example: 'author' => ['Person', 'Organization']

Method of the class: SchemaData{}

No Hooks.

Returns

Array.

Usage

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

Changelog

Since 6.8.0 Introduced.

SchemaData::get_property_ranges() code ACF 6.8.8

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