PHP Class Inpsyde\MultilingualPress\Module\UserAdminLanguage\TypeSafeLanguageRepository

Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Module\UserAdminLanguage\LanguageRepository
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
get_user_language ( integer $user_id ) : string Returns the user language for the user with the given ID.

Method Details

get_user_language() public method

Returns the user language for the user with the given ID.
Since: 3.0.0
public get_user_language ( integer $user_id ) : string
$user_id integer Optional. User ID. Defaults to 0.
return string The user language for the user with the given ID.