Changeset 33710
- Timestamp:
- 08/22/2015 06:58:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r33708 r33710 278 278 * @since 2.7.0 279 279 * @since 4.1.0 Added `$post_type` argument. 280 * @since 4.3. 0Added `$public_only` argument.280 * @since 4.3.1 Added `$public_only` argument. 281 281 * 282 282 * @param int $count The user's post count. 283 283 * @param int $userid User ID. 284 * @param string|array $post_type sPost types to count the number of posts for.284 * @param string|array $post_type Post types to count the number of posts for. 285 285 * @param bool $public_only Whether to limit counted posts to public posts. 286 286 */ 287 return apply_filters( 'get_usernumposts', $count, $userid, $post_type );287 return apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only ); 288 288 } 289 289
Note: See TracChangeset
for help on using the changeset viewer.