ims_substitutions

Description

The “ims_substitutions” filter is used to modify the substitution values used in the email messages sent to customer and administrators.

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

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

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

Example

// Apply filter
function modify_ims_substitutions( $substitutions ) {
$substitutions[] = 'new subtitution';  
return $substitutions; 
}
add_filter('ims_substitutions', 'modify_ims_substitutions');

Note: $substitutions is an numeric array.


Comments

Leave a Reply

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