WP_Screen::get_help_tab() WordPress Method

The WP_Screen::get_help_tab() method allows you to get the help tab data for a specific screen. The data is stored in an array and includes the tab title, tab content, and tab callback function.

WP_Screen::get_help_tab( string $id ) #

Gets the arguments for a help tab.


Parameters

$id

(string)(Required)Help Tab ID.


Top ↑

Return

(array) Help tab arguments.


Top ↑

Source

File: wp-admin/includes/class-wp-screen.php

	public function get_help_tab( $id ) {
		if ( ! isset( $this->_help_tabs[ $id ] ) ) {
			return null;
		}
		return $this->_help_tabs[ $id ];
	}

Top ↑

Changelog

Changelog
VersionDescription
3.4.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.