array( 'title' => 'Admin Keys' ,'content' => '

Navigation

(shortcut + command+enter = page)
note: shortcuts are done in sequence, not all at once

d Dashboard
p Pages
a p Add New Page
b Posts (Blog)
a b Add New Post
c f 7 Contact Form 7
a c f 7 Add New Contact Form 7
m Media Library
u m Add New Media
a t Themes
a w Widgets
a m Menus
g Plugins
a g Add New Plugin
u g Upload Plugin
u Users
a u Add New User
t Tools
t i Import
t e Export
d b Migrate DB Pro
f r Force Regenerate Thumbnails
s g General Settings
s w Writing
s r Reading
s m Media
s p Permalinks

Actions

Clear input focus
a Select all checkbox
n Add new
⇧+s Primary button click
⇧+b+h Secondary button click
⇧+t Open page/post in new tab
Pagination: next page
Pagination: previous page
⇧+→ Pagination: last page
⇧+← Pagination: first page
⇧+f Search box focus
' ) ); static public function init() { $class = __CLASS__ ; new $class; } public function __construct() { add_action( "in_admin_header", array( $this, 'add_tabs' ), 20 ); } public function add_tabs() { foreach ( $this->tabs as $id => $data ) { get_current_screen()->add_help_tab( array( 'id' => $id ,'title' => __( $data['title'], 'admin-keys' ) // Use the content only if you want to add something // static on every help tab. Example: Another title inside the tab ,'content' => '

Admin Keyboard Shortcuts

' ,'callback' => array( $this, 'prepare' ) ) ); } } public function prepare( $screen, $tab ) { printf( '

%s

' ,__( $tab['callback'][0]->tabs[ $tab['id'] ]['content'] ,'dmb_textdomain' ) ); } } // Always add help tabs during "load-{$GLOBALS['pagenow'}". // There're some edge cases, as for example on reading options screen, your // Help Tabs get loaded before the built in tabs. This seems to be a core error. add_action( 'in_admin_header', array('admin_keys_help', 'init') );