Created
June 2, 2021 14:35
-
-
Save kaskad88/a99489eee175c1515a6c482cb6e238ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'admin_init', function () { | |
if ( ! isset( $_REQUEST['page'] ) ) { | |
return; | |
} | |
if ( ! isset( $_REQUEST['action'] ) || 'jet-engine-op-save-settings' !== $_REQUEST['action'] ) { | |
return; | |
} | |
// do somethings | |
}, 40 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now also available follow actions:
jet-engine/options-pages/after-save
jet-engine/options-pages/after-save/$page_slug