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.


Description

To remove the default welcome panel, use remove_action():

remove_action( 'welcome_panel', 'wp_welcome_panel' );

Top ↑

Source

File: wp-admin/index.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.