WP_Screen::add_old_compat_help() public WP 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 Screen::add old compat help WP 5.7
public static function add_old_compat_help( $screen, $help ) {
self::$_old_compat_help[ $screen->id ] = $help;
}