/ Published in: PHP
Expand |
Embed | Plain Text
<?php if ( is_user_logged_in() ) { ?> //Logged in user stuff here... <?php } else { ?> <h3>You have to be a registered user to view this page</h3> <?php } ?>
You need to login to post a comment.
