ims_new_pricelist

Description

The “ims_new_pricelist” 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_pricelist', 'filter_function_name'); ?>

The hook is located in the image-store/_inc/pricing.php file.

Example

// apply action
function action_ims_new_pricelist( $list_id ) {
	//run action here
}
add_action('ims_new_pricelist', 'action_ims_new_pricelist');

Note:  $list_id is an integer of the package created.


Leave a Reply

Your email address will not be published. Required fields are marked *