Reply To: %%item_name%% not populated

Forums General %%item_name%% not populated Reply To: %%item_name%% not populated

#422
Carole Asselin
Participant

Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/s2member.net/html/wp-includes/functions.php on line 4773

I am reading further in that thread you linked to (didn’t realize it was 3 pages long). I still have the hack that i had used in the past (at least it is still in the file)


add_filter ('ws_plugin__s2member_modification_email_sbj', 'my_s2_modification_sbj', 10, 2);
function my_s2_modification_sbj ($s2member_default_sbj, $vars = array ())
    {        
        return 'Thank you for purchasing '. $vars["item_name"];
    }
add_filter ('ws_plugin__s2member_modification_email_msg', 'my_s2_modification_msg', 10, 2);
function my_s2_modification_msg ($s2member_default_msg, $vars = array ())
    {        
        return "Thank you ". $vars["first_name"] . "\n\nYou have successfully purchased the " . $vars["item_name"] . "\n\nIf you have not already done so, the next step is to Register a Username for the Campus.\n\n Please complete your registration here:" . wp_login_url () . "\n\n
        If you have any trouble, please feel free to contact us.\n\nOnce your registation is completed, you can login and access your bonuses here: http://scrapbookcampus.com/".$vars["cv"][1];    
    }

But i have no idea if it is supposed to send the correct message or not.