WP_Screen::add_old_compat_help()public staticWP 3.3.0

Sets the old string-based contextual help for the screen for backward compatibility.

Method of the class: WP_Screen{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WP_Screen::add_old_compat_help( $screen, $help );
$screen(WP_Screen) (required)
A screen object.
$help(string) (required)
Help text.

Changelog

Since 3.3.0 Introduced.

WP_Screen::add_old_compat_help() code WP 6.5.2

public static function add_old_compat_help( $screen, $help ) {
	self::$_old_compat_help[ $screen->id ] = $help;
}