WordPress at Your Fingertips
function is not described

WP_Screen::get_help_tabs() public WP 3.4.0

Gets the help tabs registered for the screen.

{} It's a method of the class: WP_Screen{}

No Hooks.

Return

Array. Help tabs with arguments.

Usage

$WP_Screen = new WP_Screen();
$WP_Screen->get_help_tabs();

Changelog

Since 3.4.0 Introduced.
Since 4.4.0 Help tabs are ordered by their priority.

Code of WP_Screen::get_help_tabs() WP 5.8.2

public function get_help_tabs() {
	$help_tabs = $this->_help_tabs;

	$priorities = array();
	foreach ( $help_tabs as $help_tab ) {
		if ( isset( $priorities[ $help_tab['priority'] ] ) ) {
			$priorities[ $help_tab['priority'] ][] = $help_tab;
		} else {
			$priorities[ $help_tab['priority'] ] = array( $help_tab );
		}
	}

	ksort( $priorities );

	$sorted = array();
	foreach ( $priorities as $list ) {
		foreach ( $list as $tab ) {
			$sorted[ $tab['id'] ] = $tab;
		}
	}

	return $sorted;
}