please help……..also can I do it without the translation plugin? Don’t want to install a plugin just for this.
Plugin Support
Yurii
(@yuriinalivaiko)
Hello @utkarshs
You can use the um_profile_tabs hook to modify the profile menu. You can add or remove a tab, change a tab name and icon. See an example:
// change the tab name from “Photos” to “Projects”.
add_filter( 'um_profile_tabs', function ( $tabs ) {
if ( array_key_exists( 'photos', $tabs ) ) {
$tabs['photos']['name'] = __( 'Projects', 'um-user-photos' );
}
return $tabs;
}, 810 );
Note: this solution does not work if you have the “Ultimate Member – Profile tabs” plugin activated.
Regards
Thank you so much, this worked perfectly.