Changeset 32524 for trunk/src/wp-includes/user.php
- Timestamp:
- 05/21/2015 07:48:19 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/user.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r32523 r32524 252 252 * @since 3.0.0 253 253 * @since 4.1.0 Added `$post_type` argument. 254 * @since 4.3.0 Added `$public_only` argument. 254 * @since 4.3.0 Added `$public_only` argument. Added the ability to pass an array of post types to `$post_type`. 255 255 * 256 256 * @global wpdb $wpdb WordPress database object for queries. … … 289 289 * 290 290 * @param array $users Array of user IDs. 291 * @param string|array $post_type Optional. Array or comma-separated listof post types to check. Defaults to 'post'.291 * @param string|array $post_type Optional. Single post type or array of post types to check. Defaults to 'post'. 292 292 * @param bool $public_only Optional. Only return counts for public posts. Defaults to false. 293 293 * @return array Amount of posts each user has written.
Note: See TracChangeset
for help on using the changeset viewer.