How to hook into Redux after setting saved
Hi,
I would like to run custom function that is located in my theme "functions.php" file. I would like to hook into this function every time a user presses the "Save Settings" button with the Redux Framework.
Is this possible?
My function is called "wmpl_save_config_file();"
Thanks
Use an action hook, like so.
add_action ('redux/options/redux_demo/saved', 'wmpl_save_config_file');
Make sure you replace redux_demo with whatever your opt_name is.
Thank you very much for the prompt reply. Exactly what I was after.
Love the framework
Glad you love it! Please post a review: http://wordpress.org/support/view/plugin-reviews/redux-framework
Also please like us on Facebook: https://www.facebook.com/ReduxFramework