W3cubDocs

/WordPress

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;
	}

Changelog

Version Description
3.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/set_help_sidebar