Toolonomy Logo
Last Updated on: October 2, 2022

Rename WordPress Dashboard Admin Menu Bar Items [PHP Snippet]

0 Shares

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 */

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 );
0 Shares

Become a Toolonomy Community Member for Free!

Consider joining our Official Community Group if you want to get access to exclusive insider content and information about Exclusive Digital Products and Technologies. Also, you will be able to get involved in interesting group discussions with like-minded people that are interested in similar topics as you.
Free Membership
Made with ❤ for Digital Product Enthusiasts
Copyright © 2018 - 2023 by SyncWin | All Rights Reserved.
Top crossmenu
0 Shares
Copy link