• I know that the usermeta table will contain a value like
    a:1:{s:10:”subscriber”;b:1;}
    if the user is set to the subscriber role and for the author role, it would look like this:
    a:1:{s:6:”author”;b:1;}

    And I understand it is possible to group two roles to a user. But how is this done? I can’t find the information anywhere.

  • The topic ‘What’s the code for usermeta to assign more than one role?’ is closed to new replies.