Description
The “ims_sagepay_notice_error” action runs after the sales details table.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_sagepay_notice_error', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/gateways/sagepay.php file.
Example
// apply action function action_ims_after_sales_details( $error, $cart_id ) { //run action here } add_action('ims_sagepay_notice_error', 'action_ims_sagepay_notice_error');
Note: $error is an string, $cart_id is an is an integer.