WP_Screen::set_help_sidebar()publicWP 3.3.0

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.

Метод класса: WP_Screen{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WP_Screen = new WP_Screen();
$WP_Screen->set_help_sidebar( $content );
$content(строка) (обязательный)
Sidebar content in plain text or HTML.

Список изменений

С версии 3.3.0 Введена.

Код WP_Screen::set_help_sidebar() WP 6.5.2

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