\n"; print "Restricted email address\n"; print "\n"; print "

Sorry users are restricted to our school

\n"; print "\n"; print "\n"; // bounce user exit(); // exiting here prevents registration } } add_action( 'register_post', 'ttc_user_check' ); // calls ttc_check_user when a new user registers ?>