The “ims_admin_message” filter is used to modify the HTML email sent to the administrator after each transaction. The message can also be modify under settings > checkout > Order notification message.

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

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

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


// Apply filter
function modify_ims_admin_message( $message, $email_tags, $substitutions ) {
	return $message . "<p>additional text</p>"; 
add_filter('ims_admin_message', 'modify_ims_admin_message');

Note:  $message is an HTML 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 *