bp_get_blog_name()

Return the name of the current blog in the loop.

Description

Return

(string) The name of the current blog in the loop.

Source

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

	function bp_get_blog_name() {
		global $blogs_template;

		/**
		 * Filters the name of the current blog in the loop.
		 *
		 * @since BuddyPress 1.2.0
		 *
		 * @param string $name Name of the current blog in the loop.
		 */
		return apply_filters( 'bp_get_blog_name', $blogs_template->blog->name );
	}

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.