welcome_panel WordPress Action Hook
The welcome_panel hook is used to display a welcome panel on the WordPress admin dashboard. This hook is triggered when the user first logs in to the WordPress admin area. The welcome panel can be used to display a message or a video tutorial. It can also be used to display links to resources or documentation.
do_action( 'welcome_panel' ) #
Add content to the welcome panel on the admin dashboard.
Contents
Description
To remove the default welcome panel, use remove_action():
remove_action( 'welcome_panel', 'wp_welcome_panel' );
Source
File: wp-admin/index.php
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |