Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function registerauth_check(){
- if ( !is_user_logged_in() && is_page_template('ido-register.php')) {
- wp_redirect( 'http://www.ido.co.ke', 301 ); exit;
- }
- }
- add_action('init', 'registerauth_check');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement