By continuing, you agree to PloxAds's Terms of Service.
$errors = [
'login' => 'Incorrect username or password.',
'nonce' => 'Your session expired, please try again.',
'exists' => 'This email address is already registered.',
'invalid' => 'Please enter valid details (password must be at least 6 characters).',
'register' => 'Could not create your account. Please try again.',
'ploxads_pending' => 'Your account is awaiting admin approval. You will receive an email once it is activated.',
'ploxads_rejected'=> 'Your account application was not approved. Please contact support.',
];
$notices = [
'pending' => 'Your account has been created and is now awaiting admin approval. You will receive a confirmation email once activated.',
];
// Pull auth error from WP (login block messages come via query string from wp-login.php flow,
// but since we handle auth ourselves the error code lands in pdx_error)
$active_tab = $notice === 'pending' ? 'login' : ( $error ? 'login' : 'login' );
?>
PloxAds
By continuing, you agree to PloxAds's Terms of Service.