How to translate add_contextual_help to get_current_screen()->add_help_tab()

Sorry only have time to offer a quick fix…. See where you can go from here.. /** * The Admin menu page */ function wptuts_add_menu(){ // Display Settings Page link under the “Appearance” Admin Menu // add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $function); $wptuts_settings_page = add_theme_page(__(‘Wptuts Options’), __(‘Wptuts Options’,’wptuts_textdomain’), ‘manage_options’, WPTUTS_PAGE_BASENAME, ‘wptuts_settings_page_fn’); // css & js … Read more

Customizing contextual help for every page

You can add this code in your functions.php file. function example_contextual_help( $contextual_help, $screen_id, $screen ) { //echo ‘Screen ID = ‘.$screen_id.'<br />’; switch( $screen_id ) { case ‘my_plugin_page_1’ : $contextual_help .= ‘<p>’; $contextual_help = __( ‘Your text here.’ ); $contextual_help .= ‘</p>’; break; case ‘my_plugin_page_2’ : $contextual_help .= ‘<p>’; $contextual_help = __( ‘Your text here.’ … Read more

contextual_help, change the “Help” tab label

Look at the source, there is no filter to alter the ‘Help’. But it does translate the text so you can hook onto the gettext filter. Not the nicest of solutions (an alternative would be to use javascript) : add_filter( ‘gettext’, ‘wpse51861_change_help_text’, 10, 2 ); function wpse51861_change_help_text( $translation, $text ) { if ( $text == … Read more

Edit dashboard’s help tab

The documentation in the Codex seems outdated. Use the following code (see comments): // Priority 5 allows the removal of default tabs and insertion of other plugin’s tabs add_filter( ‘contextual_help’, ‘wpse_77308_products_help’, 5, 3 ); function wpse_77308_products_help( $old_help, $screen_id, $screen ) { // Not our screen, exit earlier // Adjust for your correct screen_id, see plugin … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)