WP_Screen::get_help_tabs() – Gets the help tabs registered for the screen.
You appear to be a bot. Output may be restricted
Description
Gets the help tabs registered for the screen.
Usage
$array = WP_Screen::get_help_tabs();
Parameters
Returns
array Help tabs with arguments.
Source
File name: wordpress/wp-admin/includes/class-wp-screen.php
Lines:
1 to 23 of 23
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; }