ACF\AI\GEO
SchemaData::get_compatible_properties
Get compatible properties by output type
Pre-computed mapping of output types to compatible properties. For example: 'Text' => ['name', 'description', ...]
Метод класса: SchemaData{}
Хуков нет.
Возвращает
array.
Использование
$result = SchemaData::get_compatible_properties(): array;
Список изменений
| С версии 6.8.0 | Введена. |
Код SchemaData::get_compatible_properties() SchemaData::get compatible properties ACF 6.8.8
public static function get_compatible_properties(): array {
if ( self::$compatible_properties === null ) {
self::$compatible_properties = require __DIR__ . '/data/compatible-properties.php';
}
return self::$compatible_properties;
}