On this page
WP_Screen::set_help_sidebar( string $content )
Adds 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
$contentstring Required-
Sidebar content in plain text or HTML.
Source
File: wp-admin/includes/class-wp-screen.php. View all references
public function set_help_sidebar( $content ) {
$this->_help_sidebar = $content;
}
Related
Used By
| Used By | Description |
|---|---|
| Custom_Image_Header::help() wp-admin/includes/class-custom-image-header.php | Adds contextual help. |
| Custom_Background::admin_load() wp-admin/includes/class-custom-background.php | Sets up the enqueue for the CSS & JavaScript files. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/set_help_sidebar