Changeset 52332 for trunk/src/wp-includes/class-wp-user-query.php
- Timestamp:
- 12/07/2021 12:18:50 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-user-query.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user-query.php
r52226 r52332 148 148 * 149 149 * @type int $blog_id The site ID. Default is the current site. 150 * @type string| array$role An array or a comma-separated list of role names that users must match150 * @type string|string[] $role An array or a comma-separated list of role names that users must match 151 151 * to be included in results. Note that this is an inclusive list: users 152 152 * must match *each* role. Default empty. … … 222 222 * is not needed, setting this to false can improve performance. 223 223 * Default true. 224 * @type string| array$fields Which fields to return. Single or all fields (string), or array224 * @type string|string[] $fields Which fields to return. Single or all fields (string), or array 225 225 * of fields. Accepts: 226 226 * - 'ID' … … 236 236 * @type string $who Type of users to query. Accepts 'authors'. 237 237 * Default empty (all users). 238 * @type bool| array$has_published_posts Pass an array of post types to filter results to users who have238 * @type bool|string[] $has_published_posts Pass an array of post types to filter results to users who have 239 239 * published posts in those post types. `true` is an alias for all 240 240 * public post types.
Note: See TracChangeset
for help on using the changeset viewer.