ACF\AI\GEO

Schema::get_property_type │ public static │ ACF 6.8.0

Get the type from a qualified property string

Метод класса: Schema{}

Хуков нет.

Возвращает

string|null. The type name, or null if not qualified.

Использование

$result = Schema::get_property_type( $qualified_property );
$qualified_property(строка) (обязательный)
The property string, optionally prefixed with Type.

Список изменений

С версии 6.8.0 Введена.

Код Schema::get_property_type() ACF 6.8.11

public static function get_property_type( $qualified_property ) {
	return self::parse_qualified_property( $qualified_property )['type'];
}