WP_Screen::add_old_compat_help() WordPress Method

The WP_Screen::add_old_compat_help() method is used to add help tabs for the old WordPress admin help system. This system was deprecated in WordPress 3.3 and replaced with the new HelpHub system.

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

(WP_Screen)(Required)A screen object.

$help

(string)(Required)Help text.


Top ↑

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;
	}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.