Description
The “ims_sagepay_contact” filter is used to modify the contact email in a SagePay transaction.
A plugin (or theme) can modify the email with the code:
<?php add_filter( 'ims_sagepay_contact', 'filter_function_name'); ?>
The hook is located in the image-store/_inc/gateways/sagepay.php file.
Example
// Apply filter function modify_ims_sagepay_contact( $email ) { return '[email protected]'; } add_filter('ims_sagepay_contact', 'modify_ims_sagepay_contact');
Note: $email is an string.