ACF\AI\GEO
Schema::get_property_type
Get the type from a qualified property string
Method of the class: Schema{}
No Hooks.
Returns
String|null. The type name, or null if not qualified.
Usage
$result = Schema::get_property_type( $qualified_property );
- $qualified_property(string) (required)
- The property string, optionally prefixed with Type.
Changelog
| Since 6.8.0 | Introduced. |
Schema::get_property_type() Schema::get property type code ACF 6.8.8
public static function get_property_type( $qualified_property ) {
return self::parse_qualified_property( $qualified_property )['type'];
}