Changeset 36085
- Timestamp:
- 12/25/2015 08:17:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r36084 r36085 279 279 * @param array|string $post_type Optional. Single post type or array of post types to count the number of posts for. Default 'post'. 280 280 * @param bool $public_only Optional. Whether to only return counts for public posts. Default false. 281 * @return intNumber of posts the user has written in this post type.281 * @return string Number of posts the user has written in this post type. 282 282 */ 283 283 function count_user_posts( $userid, $post_type = 'post', $public_only = false ) {
Note: See TracChangeset
for help on using the changeset viewer.