• Resolved kidznc

    (@wsp-kk)


    I’m currently working on a site with a Ultimate Member registration form (see link). Part of this registration form is a “Your School” dropdown field.

    Our latest use case requires restricting access to certain pages on our site to members who belong to specific schools (i.e., $school = um_user('school_name'); ).

    However, I have yet to see any content restriction filtering that allows me to restrict an entire page based on these custom fields – the most specific I can restrict is by simple user roles.

    Is there a way to allow these custom meta_key based fields to work as part of UM’s Content Restriction?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @wsp-kk

    Unfortunately, this functionality does not exist in our plugin at this time.

    You could try to use a template_redirect hook and check this filed inside it.

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @wsp-kk

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Content restriction using meta_key from form builder’ is closed to new replies.