Description
The “ims_after_sagepay_notice” action runs after image has been generated for download. Version 3.4.7+.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_image_downloaded', 'filter_function_name' ); ?>
The hook is located in the image-store/admin/download.php file.
Example
// apply action function action_ims_image_downloaded( $image) { //run action here } add_action('ims_image_downloaded', 'action_ims_image_downloaded');
Note: $image is the current image object.