How to Know user ( admin ) Login in wordpress site

     <?php if ( is_user_logged_in() ) {

   echo ' user is loin ' ;

} else {

 echo ' Not Login ' ;

} ?>

Comments

Popular posts from this blog

Call PHP Function In JavaScript Using Ajax

List of Post Category Wise in wordpress