How to get a user specific language?

Dominik L Posted in General Discussion 3 months ago

how can I get the language a user has activated in account settings?

some stuff should only be available for German users

Replies
Indonesian Arsalan Shah Replied 3 months ago

Better to dump user variable and see what it have

$user = ossn_loggedin_user():
echo ossn_dump($user);

It will show you all attributes