WordPress filter hook
acf/is_field_group_key
Fired by 21 WordPress plugins, running on 620+ sites between them.
βFilters whether the $id is a field group key.β
How to use acf/is_field_group_key
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'acf/is_field_group_key', function( $value, $id ) {
// Change $value here.
return $value;
}, 10, 2 );Argument names come from WPScreens's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
21 plugins that fire acf/is_field_group_key
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WPScreens300+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
WP Related Posts and Products (WRI)100+ installs
apply_filters( 'acf/is_field_group_key', false, $id )advanced-custom-fields/includes/acf-field-group-functions.php:186 -
Flexblocks80+ installs
apply_filters( 'acf/is_field_group_key', false, $id )inc/acf/includes/acf-field-group-functions.php:188 -
Social Influencer Links20+ installs
apply_filters( 'acf/is_field_group_key', false, $id )lib/acf/includes/acf-field-group-functions.php:186 -
Tuxedo Importer20+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:188 -
Accessibility Statement20+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:188 -
Rexpansive Builder10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )admin/lib/acf/advanced-custom-fields/includes/acf-field-group-functions.php:188 -
Megabits Control Gastos10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:188 -
WoWpi Guild10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
Proshots For WooCommerce10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
Important Dates Dashboard Widget10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:188 -
Coronavirus (COVID-19) Live Update Popup10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
Realty Pack Core10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )app/acf/includes/acf-field-group-functions.php:187 -
Mufasa π¦ Slider10+ installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
Simple KMDG Resource CenterFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/advanced-custom-fields/includes/acf-field-group-functions.php:186 -
Admin Notes WPFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/advanced-custom-fields/includes/acf-field-group-functions.php:186 -
Ninety in NinetyFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )inc/acf/includes/acf-field-group-functions.php:186 -
Admin User ControlFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186 -
Work Time AllocatorFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )lib/advanced-custom-fields/includes/acf-field-group-functions.php:186 -
Dashboard Feeds Dashboard WidgetFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:188 -
Repeat EventsFewer than 10 installs
apply_filters( 'acf/is_field_group_key', false, $id )includes/acf/includes/acf-field-group-functions.php:186
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.