Membership
For loop type woo_membership
, here are the query parameters and fields.
Query parameters
count
- Limit number of results, or -1 for all
Type: numberorder
- Order
Type: string - Default: descorderby
- Order by
Type: string, array - Default: namestatus
- Status
Type: string, array - Default: publish
Fields
access_length
- Plan access length (human readable)access_method
- Plan access methodactive
- Whether current user has an active membership plan of this typeemail_content
- Plan email contentformatted_name
- Formatted Nameid
- IDmembers
- Returns a UserLoop of active members of this membership planmemberships
- Returns a Loop of related user membership objects for this membership planname
- Namerestricted_content
- Restricted contentrestricted_products
- Restricted productsstatus
- Status