The “ims_sage_crypt_data” filter runs on each php file include that doesn’t have it’s own hook. Version 3.4.7+.

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

<?php add_filter( 'ims_sage_crypt_data', 'filter_function_name' ); ?>

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


// apply action
function ims_sage_crypt_data( $crypt_data, $data ) {

	return $crypt_data;
add_filter('ims_sage_crypt_data', 'ims_sage_crypt_data');

Note: $crypt_data is an associative array, $data is an array.

Leave a Reply

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