Description
The “ims_after_paypal_ipn” action runs after the PayPal transaction notice has been processed.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_after_paypal_ipn', 'filter_function_name' ); ?>
The hook is located in the image-store/_inc/gateways/paypal.php file.
Example
// apply action function action_ims_after_paypal_ipn( $cart_id, $cart_data ) { //run action here } add_action('ims_after_paypal_ipn', 'action_ims_after_paypal_ipn');
Note: $cart_id is an integer, $cart_data is an associative array.
Leave a Reply