Description
The “ims_save_settings” action runs after a new package has been created.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_save_settings', 'filter_function_name'); ?>
The hook is located in the image-store/_inc/settings.php file.
Example
// apply action function action_ims_save_settings( $action, $settings ) { //run action here } add_action('ims_save_settings', 'action_ims_save_settings');
Note: $action is an string, $settings is an associative array.
Leave a Reply