bp_get_total_blog_count()

Return the total number of blogs on the site.

Description

Return

(int) Total number of blogs.

Source

File: bp-blogs/bp-blogs-template.php

	function bp_get_total_blog_count() {

		/**
		 * Filters the total number of blogs on the site.
		 *
		 * @since BuddyPress 1.2.0
		 *
		 * @param int $value Total number of blogs on the site.
		 */
		return apply_filters( 'bp_get_total_blog_count', bp_blogs_total_blogs() );
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.