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.
Contents
Parameters
- $id
(string)(Required)Help Tab ID.
Return
(array) Help tab arguments.
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 ];
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |