WooCommerce Memberships Query Fail

Hello,

Using Woo Memberships:

  1. A query for the plans works, with this string: post_type=wc_membership_plan and returns each membership plan

  2. 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.

Hi Bill,

Thanks for reaching out.
It might be a problem with the Custom Post Type, and as it is a 3rd Party extension of WooCommercer, we don’t have any control over the code. I would suggest you contact the extension author on this and let us know the feedback.
Please remember that 3rd Party plugin or extension is beyond the scope of Theme Support, I would suggest you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.