this worked for me function ap_page_template_redirect() { if( is_ask() && ! is_user_logged_in() ) { auth_redirect(); exit(); } }
View Questionzee1116 (Buyer)
2 Reputation
this worked for me function ap_page_template_redirect() { if( is_ask() && ! is_user_logged_in() ) { auth_redirect(); exit(); } }
View Question