FrontendUser::getCurrentUserUid()
\nn\t3::FrontendUser()->getCurrentUserUid();
Get UID of the current frontend user
$uid = \nn\t3::FrontendUser()->getCurrentUserUid();
Copied!
| @return int
Source Code
public function getCurrentUserUid()
{
if (!($user = $this->getCurrentUser())) return null;
return $user['uid'];
}
Copied!