Users are visitors who have login access to your site.
User Role
User Role filters by the capabilities or permissions that users can perform on your website. These include: Editor, Author, Contributor, Subscriber. Your Query can be set up to include User In or User Not In.
Role
The Role parameter filters by the capabilities or permissions of users such as Editor, Author, Contributor, Subscriber.
The Meta Query property is a helper that allows you to filter your results by object metadata.
Filter
Click on the ➕ icon to open the Inserter Panel
Open the Block Inspector
Navigate to the Primary tab
Find Query Editor icon
Click to open Query Editor
Select Users in dropdown
Open Meta Query in panel
Find Relation
Select And/Or
Add new Meta Query
Click Name to edit Meta Query
Choose Meta parameter (Meta Key, Meta Value, Meta Compare, Meta Type, Relation, Inner Meta Query)
Meta Key
The Meta Key parameter is used to retrieve a saved value from the database and display it.
Add
Click on the ➕ icon to open the Inserter Panel
Open the Block Inspector
Navigate to the Primary tab
Find Query Editor icon
Click to open Query Editor
Select Users in dropdown
Open Meta Query in panel
Find Relation
Select And/Or
Add new Meta Query
Click Name to edit Meta Query
Find Meta Key
Add Key
Meta Value
The Meta Value parameter allows you to get all the posts with a specific custom field value.
Add
Click on the ➕ icon to open the Inserter Panel
Open the Block Inspector
Navigate to the Primary tab
Find Query Editor icon
Click to open Query Editor
Select Users in dropdown
Open Meta Query in panel
Find Relation
Select And/Or
Add new Meta Query
Click Name to edit Meta Query
Find Meta Value
Add Value
Meta Compare
The Meta Compare parameter allows you to set up a query using a comparator two sets of values, such as: =, != , >, > , >= ,< ,<=, LIKE, NOT LIKE, IN, BETWEEN, EXISTS, NOT EXISTS, REGEXP, NOT REGEXP, RLIKE, NOT RLIKE.
Comparator
> Less than
>= Less or equal to
< Greater than
<= Greater than or equal to
LIKE Allows you to search for a part of a comment, such as first name contains John but can also be Johnny, Johnathan, etc.
NOT LIKE Inverse of LIKE, must not contain any part of a comment.
IN Must be in
BETWEEN Must be between
NOT BETWEEN Must not be between
EXISTS Must exist
NOT EXISTS Must not exist
REGEXP (Regular Expression) Must match pattern with a sequence of characters
NOT REGEXP (Not Regular Expression) Must not match pattern with a sequence of characters
RLIKE (Regular Expression Liike)
NOT RLIKE (Not Regular Expression Like)
Compare
Click on the ➕ icon to open the Inserter Panel
Open the Block Inspector
Navigate to the Primary tab
Find Query Builder icon
Click to open Query Editor
Select Users in dropdown
Open Meta Query in panel
Find Relation
Select And/Or
Add new Meta Query
Click Name to edit Meta Query
Find Meta Compare
Add Comparator (=, != , >, > , >= ,< ,<=, LIKE, NOT LIKE, IN, BETWEEN, EXISTS, NOT EXISTS, REGEXP, NOT REGEXP, RLIKE, NOT RLIKE)
Meta Type
The Meta Type parameter allows you to set up a query using a Meta Type such as: Numeric, Binary, Char (Character), Date, Datetime, Decimal, Signed, Time.
The Meta Relation parameter allows to associate extra information stored in independent entities (meta entities) to content entities using an And/Or relation and a single or multiple Inner Query(ies).
Add
Click on the ➕ icon to open the Inserter Panel
Open the Block Inspector
Navigate to the Primary tab
Find Query Builder icon
Click to open Query Editor
Select Users in dropdown
Open Meta Query in panel
Find Relation
Select And/Or
Add new Meta Query
Click Name to edit Meta Query
Find Meta Relation
Choose Relation (And/or)
Add Inner Meta Query name
Date Query
The Date Query allows you to filter your Users by Date, such as Year, Month, Week, Day, Hour, Minute, Second, Before a selected date, After a selected date, Compare two or more dates.
The Date Query may be inclusive or not inclusive depending on whether you want to include the current date or not.