Hello,
Using Woo Memberships:
-
A query for the plans works, with this string: post_type=wc_membership_plan and returns each membership plan
-
A query for user membership plans, the ones they’ve signed up to, produces no results
post_type=wc_user_membership
Both data structures are described here: https://woocommerce.com/document/woocommerce-memberships-data-structure
The specific memberships belonging to each user are child posts of each plan e.g.
Single Membership Plan
- Bill, Active
- Fred, Expired
I can query the plans (item 1) but not the actual memberships (item 2). I’ve looked in the error log, but nothing.
Not sure why this isn’t working.
Thanks, Bill.