This topic contains 4 replies, has 2 voices. Last updated by Raam Dev 4 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday Mar 18th, 2012 at 12:38 pm #8491 | |
Hi all, on one of my existing sites I have some code in the functions.php that emails a user when they’ve been updated from a “subscriber” to “s2Member level 1”. However I’ve just noticed its sending this approval email when they subscribe, along with the usual “thanks for registering” email… My function looks like the following, I presume something in it is incorrect: function user_role_update( $user_id, $new_role ) { Cheers! |