acf_is_local_field_key()
acf_is_local_field_key
Returns true if a field exists for the given key.
No Hooks.
Returns
true|false.
Usage
acf_is_local_field_key( $key );
- $key(string)
- The field group key.
Default:''
Changelog
| Since 5.7.10 | Introduced. |
acf_is_local_field_key() acf is local field key code ACF 6.0.4
function acf_is_local_field_key( $key = '' ) {
return acf_get_local_store( 'fields' )->is( $key );
}