• Resolved Bradymac2222

    (@bradymac2222)


    I am trying to restrict access based on multiple user metas, but I would like to have the user meet ALL the criteria, not just one. It seems like the json attribute only checks to make sure one matches. Is there a way to restrict data with all criteria being met?

    Thanks in advance. Great work on the app overall.

    https://ww.wp.xz.cn/plugins/user-meta-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Lau

    (@jason-lau)

    You can try nesting short codes to achieve the desired level of filtering.

    [useraccess key="custom_key1" value="1st value to compare" message=""][useraccess key="custom_key2" value="2nd value to compare" message=""][useraccess key="custom_key3" value="3rd value to compare" message="You do not have permission to view this content."]Restricted content.[/useraccess][/useraccess][/useraccess]

Viewing 1 replies (of 1 total)

The topic ‘User Meta Restrictions’ is closed to new replies.