WP_Screen::add_old_compat_help()public staticWP 3.3.0

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

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

Хуков нет.

Возвращает

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

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

$result = WP_Screen::add_old_compat_help( $screen, $help );
$screen(WP_Screen) (обязательный)
A screen object.
$help(строка) (обязательный)
Help text.

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

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

Код WP_Screen::add_old_compat_help() WP 6.5.2

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