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