WP_Screen::add_old_compat_help
Sets the old string-based contextual help for the screen for backward compatibility.
Method of the class: WP_Screen{}
No Hooks.
Returns
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() WP Screen::add old compat help code WP 6.9.1
public static function add_old_compat_help( $screen, $help ) {
self::$_old_compat_help[ $screen->id ] = $help;
}