<?php auth_redirect() ?>
Some say it doesn't work right for logged-in users.
Better add a checking just to make sure it works all the time:
<?php
if ( !is_user_logged_in() ) {
auth_redirect();
}
?>
if ( !is_user_logged_in() ) {
auth_redirect();
}
?>
No comments:
Post a Comment