How to Remove official News From your Wordpress Admin Dashboard

WordPress hide dashboard, It’s important to service provider as well as developers to provide end product to their clients, some of the client want website should be developed with WordPress, and some of them want website should not be developed with open source CMS WordPress, for that you need to make some small changes with admin dashboard.

The code we write to remove WordPress news from any website admin dashboard, under Appearance, you need to choose Setting of editor page, in which we have to add-on code on function.php file, few second later updating code changes will get after deleting cache of the particular web page or complete website.Remove WordPress Official News From Website Admin Dashboard

With the other blog post, we mention other code in which we also remove news from WordPress website admin panel, but this is the important code in which we also do exactly same thing.

Steps to Remove WordPress Official News form Website Dashboard

  • Once Open your WordPress website admin dashboard by typing login credential (username and password)
  • Now go to appearance and editors to open editor page, open Appearance>>Editor
  • Click on >>Theme Function>> Function.php
  • Add this code into function.php file from top of the file, and click on update button after adding this code.

   //* REMOVE DASHBOARD WIDGETS

function remove_dashboard_meta() {

        remove_meta_box( ‘dashboard_incoming_links’, ‘dashboard’, ‘normal’ );

        remove_meta_box( ‘dashboard_plugins’, ‘dashboard’, ‘normal’ );

        remove_meta_box( ‘dashboard_primary’, ‘dashboard’, ‘normal’ );

        remove_meta_box( ‘dashboard_secondary’, ‘dashboard’, ‘normal’ );

        remove_meta_box( ‘dashboard_incoming_links’, ‘dashboard’, ‘normal’ );

        remove_meta_box( ‘dashboard_quick_press’, ‘dashboard’, ‘side’ );

        //*remove_meta_box( ‘dashboard_recent_drafts’, ‘dashboard’, ‘side’ );

        //*remove_meta_box( ‘dashboard_recent_comments’, ‘dashboard’, ‘normal’ );

        //*remove_meta_box( ‘dashboard_right_now’, ‘dashboard’, ‘normal’ );

}

add_action( ‘admin_init’, ‘remove_dashboard_meta’ );

After adding above given code, you will get removed news from your website dashboard, its very useful and simple method to hide your WordPress news from WordPress website. You can more customize WordPress website by adding few more codes on function.php files such as to add multiple lines of code on same file, you will get some customizer plugins in which you should make changes on settings to remove news.

Leave a Reply