welcome_panel
Fires when adding content to the welcome panel on the admin dashboard.
To remove the default welcome panel, use remove_action():
remove_action( 'welcome_panel', 'wp_welcome_panel' );
Usage
add_action( 'welcome_panel', 'wp_kama_welcome_panel_action' ); /** * Function for `welcome_panel` action-hook. * * @return void */ function wp_kama_welcome_panel_action(){ // action... }
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/index.php
welcome_panel
wp-admin/index.php 198
do_action( 'welcome_panel' );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 15
add_action( 'welcome_panel', 'wp_welcome_panel' );