Last Updated on: September 18, 2020

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 );
SyncWin Logo
SyncWin is a dedicated place to explore the Content, Discussions, & Useful Details around topics like Business, Technology, and Lifestyle to help you learn and grow in your life.
About Us
Made with ❤ for WinSyncers
Copyright © 2018 - 2025 by SyncWin | All Rights Reserved.
crossmenuarrow-right
0 Shares
Copy link