Toolonomy Logo
Last Updated on: September 18, 2020

Rename WordPress Dashboard Admin Menu Bar Items [PHP Snippet]

If you want to rename the WordPress dashboard admin menu item name with the name you like for any reasons then use this simple code snippet to accomplish that.

/* Advanced Scripts Method to Add This Snippet */
/* 
Title: Rename Dashboard Admin Menu Bar Items
Type: PHP: Custom Code
Location: Plugins Loaded
Priority: 10
*/

function my_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
    case 'Posts' :
        $translated_text = __( 'Articles' );
        break;
}
return $translated_text;
}
add_filter( 'gettext', 'my_text_strings', 20, 3 );

Explore our Facebook Community

Consider joining our Toolonomy Facebook Community if you want to involve in the group discussion with like-minded people about Business Development Tools.
Join Now
Made with ❤ for Digital Entrepreneurs
Copyright © 2018 - 2022 SyncWin | All Rights Reserved.
Top crossmenu