WP_Screen::add_old_compat_help

Advertisement

Summery Summery

Sets the old string-based contextual help for the screen for backward compatibility.

Syntax Syntax

WP_Screen::add_old_compat_help( WP_Screen $screen, string $help )

Parameters Parameters

$screen

(WP_Screen) (Required) A screen object.

$help

(string) (Required) Help text.

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.