WordPress action hook

mb_settings_page_load

Fired by 6 WordPress plugins, running on 1,550+ sites between them.

“Custom hook runs when current page loads. Use this to add meta boxes and filters.”

How to use mb_settings_page_load

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:

functions.php
add_action( 'mb_settings_page_load', function( $args ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from Disclaimer Popup's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

6 plugins that fire mb_settings_page_load

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Disclaimer Popup icon Disclaimer Popup1,000+ installs do_action( 'mb_settings_page_load', $this->args ) assets/mb-settings-page/src/SettingsPage.php:169
  2. WP Restaurant Price List icon WP Restaurant Price List400+ installs do_action( 'mb_settings_page_load', $this->args ) assets/mb-settings-page/inc/class-mb-settings-page.php:212
  3. Funtionalities for Alpus theme icon Funtionalities for Alpus theme100+ installs do_action( 'mb_settings_page_load', $this->args ) framework/plugins/meta-box/extensions/mb-settings-page/src/SettingsPage.php:172
  4. SermonPress icon SermonPress20+ installs do_action( 'mb_settings_page_load', $this->args ) dependencies/mb-settings-page/inc/class-mb-settings-page.php:210
  5. Control Listings icon Control Listings20+ installs do_action( 'mb_settings_page_load', $this->args ) src/SettingsPage/SettingsPage.php:166
  6. Custom Credit Card Icons for Easy Digital Downloads icon Custom Credit Card Icons for Easy Digital Downloads10+ installs do_action( 'mb_settings_page_load', $this->args ) assets/mb-settings-page/src/SettingsPage.php:165

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.