WP_Screen::set_help_sidebar() WordPress Method
The WP_Screen::set_help_sidebar() method sets the sidebar to be displayed in the WordPress admin help screen.
WP_Screen::set_help_sidebar( string $content ) #
Add a sidebar to the contextual help for the screen.
Description
Call this in template files after admin.php is loaded and before admin-header.php is loaded to add a sidebar to the contextual help.
Parameters
- $content
(string)(Required)Sidebar content in plain text or HTML.
Source
File: wp-admin/includes/class-wp-screen.php
public function set_help_sidebar( $content ) {
$this->_help_sidebar = $content;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |