hasPermission()
hasPermission(string $permission) : mixed
Returns the specified permission for the current user.
Parameters
string | $permission | A permission, currently only 'max_folders' and 'max_bookmarks'. |
Returns
mixed —The value of the specified permission.