1
0
Fork 0

starting adding contextual help for wp >= 3.3, needs soe more work, started translation of options area

Dieser Commit ist enthalten in:
Oldperl 2012-05-21 18:30:41 +00:00
Ursprung 672ad385e3
Commit 5329bf5707
7 geänderte Dateien mit 228 neuen und 28 gelöschten Zeilen

17
includes/help/v33/test.php Normale Datei
Datei anzeigen

@ -0,0 +1,17 @@
<?php
$aArgs1 = array(
'title'=>'Options',
'id'=>1,
'content'=>'Dies ist ein Tescht'
);
$aArgs2 = array(
'title'=>'Table Stuff',
'id'=>2,
'content'=>'Dies ist ein Tescht'
);
if(strstr($semr_hook['options'], get_current_screen()->id)) {
get_current_screen()->add_help_tab($aArgs1);
get_current_screen()->add_help_tab($aArgs2);
}
?>