WordPress action hook
acf/upgrade_500_field_group
Fired by 30 WordPress plugins, running on 2.1M+ sites between them.
How to use acf/upgrade_500_field_group
It's an action: your callback runs at that point and receives 2 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'acf/upgrade_500_field_group', function( $nfg, $ofg ) {
// Your code runs here.
}, 10, 2 );Argument names come from Advanced Custom Fields (ACF®)'s source. Other plugins may pass different values: check the call in the plugin you're targeting below.
30 plugins that fire acf/upgrade_500_field_group
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Advanced Custom Fields (ACF®)2+ million installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/upgrades.php:232 -
Secure Custom Fields100,000+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/upgrades.php:219 -
Mapster WP Maps3,000+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:231 -
WPScreens300+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
MapifyLite (by MapifyPro)200+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )lib/advanced-custom-fields/includes/upgrades.php:222 -
WP Related Posts and Products (WRI)100+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )advanced-custom-fields/includes/upgrades.php:221 -
Flexblocks80+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )inc/acf/includes/upgrades.php:224 -
OneDS Start Package40+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:222 -
Social Influencer Links20+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )lib/acf/includes/upgrades.php:221 -
Tuxedo Importer20+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:223 -
Accessibility Statement20+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:223 -
FloristPress for Woo10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )lib/acf/includes/upgrades.php:222 -
Rexpansive Builder10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )admin/lib/acf/advanced-custom-fields/includes/upgrades.php:223 -
Megabits Control Gastos10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:224 -
WoWpi Guild10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
Proshots For WooCommerce10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
Important Dates Dashboard Widget10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:223 -
Coronavirus (COVID-19) Live Update Popup10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
Realty Pack Core10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )app/acf/includes/upgrades.php:221 -
Mufasa 🦁 Slider10+ installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
Simple KMDG Resource CenterFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/advanced-custom-fields/includes/upgrades.php:221 -
Admin Notes WPFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/advanced-custom-fields/includes/upgrades.php:221 -
Ninety in NinetyFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )inc/acf/includes/upgrades.php:221 -
Admin User ControlFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221 -
Work Time AllocatorFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )lib/advanced-custom-fields/includes/upgrades.php:221 -
House AdsFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )lib/acf/includes/upgrades.php:221 -
NavThemes Gutenberg BlocksFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )admin/includes/upgrades.php:221 -
NavThemes Employee RatingsFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )admin/includes/upgrades.php:221 -
Dashboard Feeds Dashboard WidgetFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:223 -
Repeat EventsFewer than 10 installs
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg )includes/acf/includes/upgrades.php:221
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.