WP Welcome Panel in Wp Admin Dashboard

How to Remove the Welcome to WordPress Message

Do you need to try a WordPress plugin? Create a temp site now!

Sharing is caring!

Usually when WordPress updates itself or if it’s a fresh installation it would generate this Welcome to WordPress huge banner.
It takes a lot of space. If you’re a beginner you may take a look at it for a few seconds but no more than that.

If you’re more advanced WordPress user you’ll go straight to doing your work or whatever you intended to do by accessing the WP admin area.

Option 1: Dismiss the Message

You can click on the top right corner to dismiss the block. You will stop seeing the message, however, it is highly probable that other users will keep seeing the message because the dismissed info is stored in user’s meta database table.

So if your clients have admin or can edit the theme options they will keep seeing the message.

For this reason we recommend adding a bit of code to remove this once and for all.

Option 2: Programmatically dismiss the Welcome to WordPress Message

What if you put the following code in to a custom plugin that you always use that cleans up the default WordPress admin area?

// Removes the the giant block Welcome to WordPress in the admin area 
// Blog post - https://wpsandbox.net/935

add_action('wp_dashboard_setup', 'wpsandbox_tutorial_935_remove_wp_welcome_panel');

function remove_welcome_panel() {
    remove_action('welcome_panel', 'wpsandbox_tutorial_935_remove_wp_welcome_panel');
}

Sharing is caring!

Do you need to try a WordPress plugin? Create a temp site now!
This code shared in this post/site is provided "AS IS" without any warranties or guarantees of any kind. The authors and distributors of this code cannot be held responsible for any damage, data loss, or other issues that may arise from its use. It is strongly recommended that you test this code in a staging environment before deploying it to a live site. Always ensure you have proper backups and understand the implications of running this code on your WordPress installation. Use at your own risk.

Leave a Comment

Your email address will not be published. Required fields are marked *