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