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', ...]
Method of the class: SchemaData{}
No Hooks.
Returns
Array.
Usage
$result = SchemaData::get_compatible_properties(): array;
Changelog
| Since 6.8.0 | Introduced. |
SchemaData::get_compatible_properties() SchemaData::get compatible properties code 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;
}