Skip to content

Instantly share code, notes, and snippets.

@senlin
Last active December 10, 2015 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save senlin/4461699 to your computer and use it in GitHub Desktop.
Save senlin/4461699 to your computer and use it in GitHub Desktop.
In 3.5+, this hook allows you disable the Welcome Panel in the Dashboard. Removing the action also removes the corresponding Screen Option. source: http://codex.wordpress.org/Plugin_API/Action_Reference/welcome_panel
<?php
// In 3.5+, this hook allows you disable the Welcome Panel in the Dashboard.
// Removing the action also removes the corresponding Screen Option.
// source: http://codex.wordpress.org/Plugin_API/Action_Reference/welcome_panel
remove_action( 'welcome_panel', 'wp_welcome_panel' ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment