ACF\AI\GEO
SchemaData::get_property_ranges
Get the property range mappings
Maps each property to the types it expects as values. For example: 'author' => ['Person', 'Organization']
Метод класса: SchemaData{}
Хуков нет.
Возвращает
array.
Использование
$result = SchemaData::get_property_ranges(): array;
Список изменений
| С версии 6.8.0 | Введена. |
Код SchemaData::get_property_ranges() SchemaData::get property ranges 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;
}