Hi,
Using the next function you can manipulate the titles of the components that appear in the bp user menu.
COPY CODE
function rename_bp_tabs() {
global $bp;
$bp->bp_nav['notifications']['name'] = 'RE-Notifications';
$bp->bp_nav['messages']['name'] = 'RE-Messages';
$bp->bp_nav['groups']['name'] = 'RE-GRoups';
}
add_action( 'bp_init', 'rename_bp_tabs');
If you want to rename and another component just add after
$bp->bp_nav[‘groups’][‘name’] = ‘RE-GRoups’;
From example :
$bp->bp_nav[‘profile’][‘name’] = ‘My profile’;
the function will be added to wp-content/themes/kleo-child/functions.php
Note: Child theme needs to be installed and activated.
Cheers
R.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution