Meta Box
Support Forum
Support › MB Settings Page › Run Custom Function on Save SettingResolved
Hi,
I need to run my custom function on clicking the Save Settings button. Are there any hooks to run my custom function.
Thanks in Advance.
Hi Manoj,
Please use the hook mb_settings_page_load with priority > 10, like this:
mb_settings_page_load
add_action( 'mb_settings_page_load', function() { // Run your code. }, 20 );