Filter results based on post meta?
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Hello.
I’m planning a new site. Its a membership platform based on woocommerce, membership -> teams.
Each group has private content. Posts with or with attached files docx or pdf.
Each post has the meta value of team id.
Could I filter the result based on the users team id?
Example:
Show all posts with post meta membership_id = team_id or no/blank meta.
Regards,
Henrik@solo
Calgary
It should be possible for Elasticsearch and Solr, with a custom filter in a hook.
Example of code for a not exist filter.
You must be logged in to reply to this topic.