WP_Screen::add_old_compat_help( WP_Screen $screen, string $help )
Sets the old string-based contextual help for the screen for backward compatibility.
Parameters
- $screen
-
(Required) A screen object.
- $help
-
(Required) Help text.
Source
File: wp-admin/includes/class-wp-screen.php
public static function add_old_compat_help( $screen, $help ) {
self::$_old_compat_help[ $screen->id ] = $help;
}
Changelog
Version | Description |
---|---|
WP-3.3.0 | Introduced. |