ims_before_pagseguro_ipn

Description

The “ims_before_pagseguro_ipn” action runs before the PagSeguro transaction notice has been processed.

A plugin (or theme) can add an action with the code:

<?php add_action( 'ims_before_google_notice', 'filter_function_name' ); ?>

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

Example

// apply action
function action_ims_before_pagseguro_ipn( $deprecated, $cart_id ) {
	//run action here
}
add_action('ims_before_pagseguro_ipn', 'action_ims_before_pagseguro_ipn');

Note:  $deprecated is an boolean, $cart_id is an integer.


Leave a Reply

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