Changeset 10783
- Timestamp:
- 05/19/2016 03:29:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-template.php
r10712 r10783 877 877 * 878 878 * @since 1.2.0 879 * 880 * @param int $value Total number of blogs for a given user. 881 */ 882 return apply_filters( 'bp_get_total_blog_count_for_user', bp_blogs_total_blogs_for_user( $user_id ) ); 879 * @since 2.6.0 Added the `$user_id` parameter. 880 * 881 * @param int $value Total number of blogs for a given user. 882 * @param int $user_id ID of the queried user. 883 */ 884 return apply_filters( 'bp_get_total_blog_count_for_user', bp_blogs_total_blogs_for_user( $user_id ), $user_id ); 883 885 } 884 886 add_filter( 'bp_get_total_blog_count_for_user', 'bp_core_number_format' );
Note: See TracChangeset
for help on using the changeset viewer.