user_id

Returns the id of the current logged in user or false

Summary

user_id();

Usage

$user_id = user_id();
// returns the id (ex. 5) if the user is logged
The documentation is under development. Help us by editing this page.