WP_Screen::set_help_sidebar()
Adds a sidebar to the contextual help for the screen.
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.
Method of the class: WP_Screen{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Screen = new WP_Screen(); $WP_Screen->set_help_sidebar( $content );
- $content(string) (required)
- Sidebar content in plain text or HTML.
Changelog
Since 3.3.0 | Introduced. |
WP_Screen::set_help_sidebar() WP Screen::set help sidebar code WP 6.7.1
public function set_help_sidebar( $content ) { $this->_help_sidebar = $content; }