How to Hide or Replace the WordPress Welcome Panel

Updated: now with more in-depth code!

So you want to modify the WordPress Dashboard Welcome Screen

There was a thread on the WPMU website that discusses how to disable the WordPress welcome screen, but the code provided didn’t work, so I figured I’d show how to do it!

The `wp_welcome_panel()` function uses the `show_welcome_panel` user meta setting to determine whether or not to show the welcome panel. In order to modify this setting, we’re going to add a filter to the `get_user_metadata` filter, which uses the `get_metadata` function.

The following code snippets should be added to your theme’s `functions.php` file.

5 thoughts on “How to Hide or Replace the WordPress Welcome Panel”

Shakopee is a popular suburb of Minneapolis, Minnesota,
and Shakopee
homes for sale often move very quickly on the market. This is because
Shakopee MN real estate is highly desirable, since the town offers
easy access to Minneapolis while still preserving the small-town …
charm that it is known for. Are you thinking of moving to Shakopee?
You’ve come to the right place.

I’m finding that when doing this: 1. you lose the ability to dismiss the screen… which I’ve almost worked around by using a different usermeta field that is updated every time the ‘show_welcome_screen’ meta is updated. but the more insurmountable 2. is that the whole welcome screen shows up in the ‘Screen Options’ tab at the top of the page… and again the checkbox is permanently unchecked since we’re returning 0 at the end of the filter. My only ideas for fixing this would then be either CSS or JS ‘hacks’.

Great code! I want to make my own welcome panel and use the second own you’ve posted. But, my problem is that it only shows for admins (and i want to show it for authors). Have you any tip how I say and if current_user_can publish posts or something like that?