Post filters
Filter | Description |
---|---|
Post title | Compares the post title (text) with the comparison value using the selected operator. |
Post content | Compares the post content (text) with the comparison value using the selected operator. |
Post type | Checks if the post type (single value) is or is not part of a list of comparison values of existing post types. |
Post status | Checks if the post status (single value) is or is not part of a list of comparison values of existing post statuses. |
Post owner | Checks if the post owner (single value) is or is not part of a list of comparison values of existing WordPress users. |
Post tags | Checks if the post tags (multiple values) contain all, contain any, or contain none of a list of comparison values. |
Post categories | Checks if the post categories (multiple values) contain all, contain any, or contain none of a list of comparison values. |
Custom field | Compares the value of a named custom field (text) with the comparison value using the selected operator. Note! This filter requires a valid custom field name to be defined. |
Advanced custom field | Same as above. But instead of defining the custom field via its name, an ACF field is selected from a drop-down of all existing ACF fields. |
User filters
Filter | Description |
---|---|
User email | Compares the user email (text) with the comparison value using the selected operator. |
User role | Checks if the user role (single value) is or is not part of a list of comparison values of existing user roles. |
Comment filters
Filter | Description |
---|---|
Comment type | Compares the comment type (text) with the comparison value using the selected operator. |
Comment status | Checks if the comment status (single value) is or is not part of a list of comparison values of existing comment statuses (approved etc). |
Comment author-name | Compares the comment author name (text) with the comparison value using the selected operator. |
Comment author email | Compares the comment author’s email address (text) with the comparison value using the selected operator. |
Comment content | Compares the comment type (text) with the comparison value using the selected operator. |
Is Customer note | Yes/No filter. Only available if WooCommerce is installed. Makes it possible to filter customer notes (public) vs private notes (internal). |
WooCommerce order filters
Filter | Description |
---|---|
Order products | Checks if the order products (multiple values) contain all, contain any, or contain none of a list of comparison values of products. |
Order product types | Checks if the order product types (multiple values) contain all, contain any, or contain none of a list of comparison values of product types (simple, grouped, external, variable). |
Order product tags | Checks if the tags of the order products (multiple values) contain all, contain any, or contain none of a list of comparison values of product tags. |
Order product categories | Checks if the categories of the order products (multiple values) contain all, contain any, or contain none of a list of comparison values of product categories. |
Virtual product | Checks if all, any, or none of the products in the order are virtual. |
Downloadable product | Checks if all, any, or none of the products in the order are downloadable. |
Order total amount | Checks if the order total amount (numeric) equals, doesn’t equal, is greater than or is lower than the comparison value. |
Order billing email | Compares the billing email (text) with the comparison value using the selected operator. |
Order billing country | Checks if the order billing country (single value) is or is not part of a list of comparison values of WooCommerce countries. |
Order billing state | Checks if the order billing state (single value) is or is not part of a list of comparison values of WooCommerce states. |
Order billing city | Compares the order billing city (text) with the comparison value using the selected operator. |
Order billing company | Compares the order billing company (text) with the comparison value using the selected operator. |
Order payment method | Checks if the order payment method (single value) is or is not part of a list of comparison values of WooCommerce payment methods. |
Order shipping country | Checks the order shipping country (single value) is or is not part of a list of comparison values of WooCommerce countries. |
Order shipping state | Checks if the order shipping state (single value) is or is not part of a list of comparison values of WooCommerce states. |
Order shipping city | Compares the order shipping city (text) with the comparison value using the selected operator. |
Order shipping company | Compares the order shipping company (text) with the comparison value using the selected operator. |
Order shipping method | Checks if the order shipping method (single value) is or is not part of a list of comparison values of available WooCommerce shipping methods. |
Order shipping zone | Checks if the order shipping zone (single value) is or is not part of a list of comparison values of available WooCommerce shipping zones. |
WooCommerce customer filters
Filter | Description |
---|---|
Order count (total) | Compares the total number of orders from the same customer, regardless of the order status of each order. The customer is identified via the email address. |
Order count (completed) | Compares the number of completed orders from the same customer. The customer is identified via the email address. |
Other filters
Filter | Description |
---|---|
Request initiator | Checks if the HTTP request initiator (single value) is or is not part of a list of comparison values of known initiators (REST, AJAX, Normal request). |
Referer URL | Compares the HTTP referer URL (text) with the comparison value using the selected operator. |
Referer Post ID | Uses internal WordPress functions to resolve the referer URL to a post ID. If the referring page is a post, page, product etc, this filter will let you compare it to a number, making it useful to detect the page of a posted form. |
Remote IP address | Filter using the IP address of the requesting client (web browser, script etc.) to allow or deny certain requests. Primarily intended to work with incoming webooks and posted forms but works for all types of requests. Read more here. |