Skip to content

Instantly share code, notes, and snippets.

@vielhuber
Last active September 22, 2017 23:12
get user ID #joomla
$user_id = JFactory::getUser()->id;
if( !$user_id ) { die('error'); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment