bp_core_get_directory_page_default_titles()

Get the default page titles for BP directory pages.

Description

Return

(array)

Source

File: bp-core/bp-core-functions.php

function bp_core_get_directory_page_default_titles() {
	$page_default_titles = array(
		'activity'          => __( 'News Feed', 'buddyboss' ),
		'groups'            => __( 'Groups', 'buddyboss' ),
		'blogs'             => __( 'Sites', 'buddyboss' ),
		'members'           => __( 'Members', 'buddyboss' ),
		'media'             => __( 'Photos', 'buddyboss' ),
		'activate'          => __( 'Activate', 'buddyboss' ),
		'register'          => __( 'Register', 'buddyboss' ),
		//'profile_dashboard' => __( 'Dashboard', 'buddyboss' ),
		'new_forums_page'   => __( 'Forums', 'buddyboss' ),
	);

	/**
	 * Filters the default page titles array
	 *
	 * @since BuddyPress 2.7.0
	 *
	 * @param array $page_default_titles the array of default WP (post_title) titles.
	 */
	return apply_filters( 'bp_core_get_directory_page_default_titles', $page_default_titles );
}

Changelog

Changelog
Version Description
BuddyPress 2.7.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.