Rename WordPress Dashboard Menu Name

WordPress Dashboard Customize (Part 3)
Access the Active Theme of your website and open the functions.php file. Paste the snips below into the file then test.

[php]
/* Rename Dashboard Menu Name */
function rename_admin_menu_items( $menu ) {
// $menu = str_ireplace( ‘original name’, ‘new name’, $menu );
$menu = str_ireplace( ‘Dashboard’, ‘Home’, $menu );
$menu = str_ireplace( ‘Posts’, ‘Recipe’, $menu );
$menu = str_ireplace( ‘Comments’, ‘Visitor Feedback’, $menu );
// return $menu array
return $menu;
}
add_filter(‘gettext’, ‘rename_admin_menu_items’);
add_filter(‘ngettext’, ‘rename_admin_menu_items’);
[/php]


After


3 Comments on "Rename WordPress Dashboard Menu Name"

  1. Great..thanks for this. but I believe this does not work on menu item labels names created by external plugins and themes? Can you give us a way out to this? Thanks once again.

Leave a Reply

×

Your Cart

No products in the cart.
Start shopping

About Us

Royal Technologies is a System Integration house that supports Web Design, Web Hosting, Domain Registration, Search Engine Optimizing, IT Consulting, Remote or Telephone Support and Software Development. In simpler terms it’s an IT Company dealing in various aspects of implementation and maintenance of computerization. We have learnt from experience and have molded ourselves to be complete IT Company.

CONTACT US

Location

Copyright © 2008-2024 Royal Technologies. All rights reserved.
Development by Royal Technologies