acf_get_compatibility()
acf_get_compatibility
Returns true if compatibility is enabled for the given component.
Hooks from the function
Returns
true|false.
Usage
acf_get_compatibility( $name );
- $name(string) (required)
- The name of the component to check.
Changelog
| Since 5.1.5 | Introduced. |
acf_get_compatibility() acf get compatibility code ACF 6.0.4
function acf_get_compatibility( $name ) {
return apply_filters( "acf/compatibility/{$name}", false );
}