acf_get_compatibility()ACF 5.1.5

Returns true if compatibility is enabled for the given component.

Hooks from the function

Returns

boolean.

Usage

acf_get_compatibility( $name );
$name(string) (required)
The name of the component to check.

Changelog

Since 5.1.5 Introduced.

acf_get_compatibility() code ACF 6.8.8

function acf_get_compatibility( $name ) {
	return apply_filters( "acf/compatibility/{$name}", false );
}