WordPress action hook
acf/options_page/submitbox_major_actions
Fired by 8 WordPress plugins, running on 101K+ sites between them.
“Fires before the major-publishing-actions div.”
How to use acf/options_page/submitbox_major_actions
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'acf/options_page/submitbox_major_actions', function( $page ) {
// Your code runs here.
}, 10, 1 );Argument names come from Secure Custom Fields's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
8 plugins that fire acf/options_page/submitbox_major_actions
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Secure Custom Fields100,000+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )includes/admin/class-acf-admin-options-page.php:291 -
WPScreens300+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )includes/acf/pro/admin/admin-options-page.php:288 -
Pilo’Press90+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )includes/classes/admin/options-pages/class-admin-options-page.php:315 -
Flexblocks80+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )inc/acf/pro/admin/admin-options-page.php:278 -
Option Page Addon For ACF60+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )admin/admin-options-page.php:293 -
Advanced Members for ACF20+ installs
do_action( 'acf/options_page/submitbox_major_actions' )admin/class-admin-options.php:219 -
Coronavirus (COVID-19) Live Update Popup10+ installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )includes/acf/pro/admin/admin-options-page.php:288 -
NavThemes Gutenberg BlocksFewer than 10 installs
do_action( 'acf/options_page/submitbox_major_actions', $this->page )admin/pro/admin/admin-options-page.php:290
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.