Order item loop

Field loops do not query to the DB, they receive a prepopulated items field.

This Loop is returned by a membership team's members field, it cannot be called directly in a template (can be manually constructed through code, though).

For loop type woo_team_member, here are the available query arguments and fields.

Query arguments

Fields

  • added_date - Returns the UTC date when member was added to the team
  • email - Returns the member's email
  • id - Get id
  • is_team_owner - Checks whether the member is the owner of the team or not
  • local_added_date - Returns the local date when member was added to the team
  • name - Returns the member's name for display purposes
  • role - Returns the member's role in the team
  • team_id - Team id
  • user - Loop containing corresponding user