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.


Top ↑

Parameters

$content

(string)(Required)Sidebar content in plain text or HTML.


Top ↑

Source

File: wp-admin/includes/class-wp-screen.php

	public function set_help_sidebar( $content ) {
		$this->_help_sidebar = $content;
	}


Top ↑

Changelog

Changelog
VersionDescription
3.3.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.