## Try this if you are using Woocommerce
function ws_new_user_approve_registration_message(){
$not_approved_message = \'<p class="registration">Send in your registration application today!<br /> NOTE: Your account will be held for moderation and you will be unable to login until it is approved.</p>\';
if( isset($_REQUEST[\'approved\']) ){
$approved = $_REQUEST[\'approved\'];
if ($approved == \'false\') echo \'<p class="registration successful">Registration successful! You will be notified upon approval of your account.</p>\';
else echo $not_approved_message;
}
else echo $not_approved_message;
}
add_action(\'woocommerce_before_customer_login_form\', \'ws_new_user_approve_registration_message\', 2);