undefined is_ssl while using is_user_logged_in, checking if user logged in
-
I’ve included pluggable.php and i’m using
is_user_logged_in()
function and I’m getting an error withis_ssl()
function that is being undefined?All I’m doing is to check in my page that if user is logged in with wp, then they can be viewed
if( is_user_logged_in() ){ // logged in and view page }else{ // not logged in, don't view and redirect to loggin page with header("http:....wp-admin"); }
can anyone think why this is happening?
Thanks
- The topic ‘undefined is_ssl while using is_user_logged_in, checking if user logged in’ is closed to new replies.