How can we rename a backend external plugin menu main and side item labels?
I need to rename Rainlab.blog menu “Blog” into “Posts” for example
Hello chris
I guess, you could implement an own extension plugin:
Then you may be able to rename the menu item in the plugin.php like this:
I never did that, so I don’t know if this solution is working. Let me know.
Event::listen('backend.menu.extendItems', function($manager){
$manager->addMainMenuItems('Author.Plugin', [
'existing_menu_item_code' => [
'label' => 'NEW LABEL',
],
]);
});
1 Like