user_is_logged_in

Definition

user_is_logged_in()
modules/user/user.module, line 851

Code

<?php
function user_is_logged_in() {
  return (bool)$GLOBALS['user']->uid;
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.