This function has been deprecated. BuddyPress 1.5.0 instead.

bp_get_page_title()

Prior to BuddyPress 1.5, this was used to generate the page’s <title> text.

Description

Now, just simply use wp_title().

Return

(string)

Source

File: bp-core/deprecated/buddypress/1.5.php

	function bp_get_page_title() {
		_deprecated_function( __FUNCTION__, '1.5', 'wp_title()' );
		$title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' );

		// Backpat for BP 1.2 filter
		$title = apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) );

		return apply_filters( 'bp_get_page_title', $title );
	}

Changelog

Changelog
Version Description
BuddyPress 1.5.0 BuddyPress 1.5.0
BuddyPress 1.0.0 Introduced.

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.