Appointment Staff loop
For loop type woo_appointment_staff
, here are the available query arguments and fields.
Query arguments
-
exclude
- Exclude users by ID or nameType: string, array
-
id
- User by IDType: string, array
-
include
- Include users by ID or nameType: string, array
-
name
- User by name/slugType: string, array
-
not_role
- Exclude user role(s)Type: string, array
-
order
- Order: asc (ascending) or desc (descending)Default:
asc
Type: string -
orderby
- Order by fieldDefault:
display_name
Type: string, array -
paged
- Items per pageDefault:
10
Type: number -
product_id
- Product id staff assigned toType: string
-
role
- User role(s)Type: string, array
Fields
-
archive_url
- Post archive URL
-
availability
- Staff availability, returns loop
-
avatar
- Avatar image
-
avatar_url
- Avatar URL
-
base_cost
- Staff base cost product_id argument should be passed to get this value
-
edit_url
- Edit URL
-
email
- Email
-
full_name
- Full name
-
id
- ID
-
locale
- User locale from the Language setting in profile edit screen
-
name
- Name
-
post_count
- Post count
-
products
- Products staff assigned to, returns loop
-
qty
- Staff quantity, product_id argument should be passed to get this value
-
registration_date
- Registration date
-
roles
- User role(s)
-
url
- URL