Which of the following is the correct way to redirect the default login and registration page URL to a custom login and registration page URL?
Answer
Correct Answer: add_action('init','possibly_redirect'); function possibly_redirect(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { wp_redirect('Your custom url'); exit(); } }
Explanation:
Note: This Question is unanswered, help us to find answer for this one