How to edit FluentCart account page details?
I have FluentCart setup with FluentCommunities and there will be 2 different profile pages. I want change FluentCart dashboard to read Account Details instead of Profile. Is there a way to do this with code?

Add this to a small plugin, or to the themeΒ functions.php. It renames theΒ ProfileΒ item in the FluentCart account menu toΒ Account Details. The link stays the same.
add_filter( 'fluent_cart/global_customer_menu_items', function ( $items ) {
if ( isset( $items['profile']['label'] ) ) {
$items['profile']['label'] = 'Account Details';
}
return $items;
} );
add_filter( 'fluent_cart/customer_profile_translations', function ( $strings ) {
if ( isset( $strings['Profile'] ) ) {
$strings['Profile'] = 'Account Details';
}
return $strings;
} );
The first filter changes the sidebar. The second changes the same word inside the account app.Β Save ProfileΒ stays as it is.
If you want more tabs, seeΒ https://cartcubes.com/fluentcart/toolbox/account-tabs/