Last active
August 29, 2015 14:18
-
-
Save JudeRosario/a0364ca192cc342c1821 to your computer and use it in GitHub Desktop.
Protected Content Email Verification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function send_email_verification( $user ) { | |
wp_new_user_notification( $user->ID ); | |
return $form ; | |
} | |
add_action('ms_controller_frontend_register_user_complete','send_email_verification') ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just copy/paste the code into the
functions.php
file of your child theme or a site specific plugin if you use one.