bp_core_get_directory_page_default_titles()
Get the default page titles for BP directory pages.
Description Description
Return Return
(array)
Source Source
File: bp-core/bp-core-functions.php
function bp_core_get_directory_page_default_titles() {
$page_default_titles = array(
'activity' => _x( 'Activity', 'Page title for the Activity directory.', 'buddypress' ),
'groups' => _x( 'Groups', 'Page title for the Groups directory.', 'buddypress' ),
'blogs' => _x( 'Sites', 'Page title for the Sites directory.', 'buddypress' ),
'members' => _x( 'Members', 'Page title for the Members directory.', 'buddypress' ),
'activate' => _x( 'Activate', 'Page title for the user activation screen.', 'buddypress' ),
'register' => _x( 'Register', 'Page title for the user registration screen.', 'buddypress' ),
);
/**
* Filters the default page titles array
*
* @since 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 |
|---|---|
| 2.7.0 | Introduced. |