Relationship between custom field and user

Support MB Relationships Relationship between custom field and user

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44926
    Jayron CastroJayron Castro
    Participant

    I need to create a relationship between a custom field that is part of an administration page and a user, as a custom field called "Classes" was created and now I need to relate it to the user, as a class can belong to several Users.

    Below is the custom field "Class":

    https://pastebin.com/hnQLZJXR

    Below are some images to visually help with understanding.
    https://ibb.co/6mY086Y
    https://ibb.co/KD131yv

    #44940
    PeterPeter
    Moderator

    Hello,

    It isn't possible to set a relationship between a custom field and a user. You can set a relation between objects only. They are post, user, term.
    Please follow the documentation https://docs.metabox.io/extensions/mb-relationships/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.