Anonymous User
(@anonymized-6594935)
Go to plugin’s settings and look at the bottom of it
Thank imath – no joy however, tab still shows “buddydrive” on the users page.
Anonymous User
(@anonymized-6594935)
Try Changing the title of the BuddyDrive page in the WP page administration, it should work
The tab on the users activity page is where I want to change it.
Anonymous User
(@anonymized-6594935)
Sorry, i don’t get it. Can you paste a screenshot ?
This work for the user profile but not for group tab:
function mb_profile_menu_tabs(){
global $bp;
$bp->bp_nav[‘buddydrive’][‘position’] = 50;
$bp->bp_nav[‘buddydrive’][‘name’] = ‘viredrive’;
}
add_action(‘bp_setup_nav’, ‘mb_profile_menu_tabs’, 201);
How I can change name in tab groups?
I call it “viredrive” you can call it another name.
Hey! If you are looking for a way to change the ‘BuddyDrive’ label in the navigation, there is a filter that you can actually use. If you are using php 5.2 and above copy and paste the following code inside your theme’s functions.php
/**
* Changes default BuddyDrive Label
*/
add_filter('buddydrive_get_name', function(){
return __('Files', 'dunhakdis');
});
Cheers!
If you are using a lower version of PHP:
/**
* Changes default BuddyDrive Label
*/
add_filter('buddydrive_get_name', 'dunhakdis_buddydrive_set_name');
/**
* Callback function to 'buddydrive_get_name' filter
*/
function dunhakdis_buddydrive_set_name() {
return __('Files', 'dunhakdis');
}
Thanks Danny and Joseph. Both of those do what I wanted. 🙂