How to write a plugin to add users to a mail list
You would hook into profile_update and user_register. First check to see if it’s a new user and whether she is an admin/editor. Then send the mail. Same story with updating the user: see if the role has changed, and whether the new role is admin or editor. <?php add_action( ‘profile_update’, ‘wpse33949_profile_update’ ); add_action( ‘user_register’, ‘wpse33949_profile_update’ … Read more