acf_get_compatibility()
Returns true if compatibility is enabled for the given component.
Хуки из функции
Возвращает
true|false.
Использование
acf_get_compatibility( $name );
- $name(строка) (обязательный)
- The name of the component to check.
Список изменений
| С версии 5.1.5 | Введена. |
Код acf_get_compatibility() acf get compatibility ACF 6.4.2
function acf_get_compatibility( $name ) {
return apply_filters( "acf/compatibility/{$name}", false );
}