WP_Screen::set_help_sidebar

Advertisement

Summery Summery

Add a sidebar to the contextual help for the screen.

Syntax Syntax

WP_Screen::set_help_sidebar( string $content )

Description 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 Parameters

$content

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.