The “ims_email_headers” filter is used to modify the email headers used to send the admin and user notifications.

A plugin (or theme) can modify the value with the code:

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

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


// Apply filter
function modify_ims_email_headers( $headers, $email_tags, $substitutions ) {
	return $headers . "BCC: [email protected]\r\n"; 
add_filter('ims_email_headers', 'modify_ims_email_headers');

Note:  $headers is an string, $email_tags is a numeric array, $substitutions is an numeric array.

Leave a Reply

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