Viewing 2 replies - 1 through 2 (of 2 total)
  • you could add this to functions.php of your currently used theme:

    add_action( 'wp_before_admin_bar_render', 'personalize_adminbar_appearance' );
    
    //adminbar//
    function personalize_adminbar_appearance() {
            global $wp_admin_bar;
    
            $wp_admin_bar->add_menu( array(
                    'id'    => 'new-content',
                    'title' => '<span class="ab-icon"></span><span class="ab-label">' . 'Novelty' . '</span>',
                    'meta'  => array(
                            'title' => 'Add Novelty',
                    ),
            ) );
    }
    Thread Starter mozalan

    (@mozalan)

    You ARE a star man! Thanks a lot for this!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Renaming " NEW" on admin bar’ is closed to new replies.