/** * Return the total topic count for a given user. * * @param int $user_id See {@link bp_forums_total_topic_count()}. */ function bp_get_forum_topic_count($user_id = 0) { return apply_filters('bp_get_forum_topic_count', bp_forums_total_topic_count($user_id)); }
/** * Return the total topic count for a given user. * * @param int $user_id See {@link bp_forums_total_topic_count()}. * * @return int */ function bp_get_forum_topic_count( $user_id = 0 ) { /** * Filters the total topic count for a given user. * * @since BuddyPress (1.2.0) * * @param int $value Total topic count for the given user. */ return apply_filters( 'bp_get_forum_topic_count', bp_forums_total_topic_count( $user_id ) ); }