On this page
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
$screenWP_Screen Required-
A screen object.
$helpstring Required-
Help text.
Source
File: wp-admin/includes/class-wp-screen.php. View all references
public static function add_old_compat_help( $screen, $help ) {
self::$_old_compat_help[ $screen->id ] = $help;
}
Related
Used By
| Used By | Description |
|---|---|
| add_contextual_help() wp-admin/includes/deprecated.php | Add contextual help text for a page. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/add_old_compat_help