Skip to content

Dismiss "Welcome Panel" nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory. This is not a replacement but just a tool for those who need it.

License

Notifications You must be signed in to change notification settings

luciano-croce/dismiss-welcome-nag

Repository files navigation

Dismiss Welcome Nag

Build Status

Dismiss "Welcome Panel" nag, dashboard widget, when is activated, or automatically, if it is in mu-plugins directory.

  • Tips: a neat trick, is to put this single file dismiss-welcome-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
  • Explanation: this, is different from the other similar plugins, because uses the filter hook, and not the action hook. Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used. However, filters are still action hooks. WordPress defines add_filter/remove_filter as "hooks a function to a specific filter action", and add_action/remove_action as "hooks a function on to a specific action".

About

Dismiss "Welcome Panel" nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory. This is not a replacement but just a tool for those who need it.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages