add_help_tab( array( 'id' => 'plugininfo', 'title' => __( 'Plugin Info', 'backwpup' ), 'content' => '

'.str_replace( '\"','"', sprintf( _x( '%1$s version %2$s. A project by Inpsyde GmbH.','Plugin name and link; Plugin Version','backwpup' ), '' . BackWPup::get_plugin_data( 'Name' ) . '' , BackWPup::get_plugin_data( 'Version' ) ) ) . '

' . '

' . __( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is a free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '

' ) ); $text_help_sidebar = '

' . __( 'For more information:', 'backwpup' ) . '

'; $text_help_sidebar .= '

' . BackWPup::get_plugin_data( 'Name' ) . '

'; $text_help_sidebar .= '

' . __( 'Plugin on wordpress.org', 'backwpup' ) . '

'; $text_help_sidebar .= '

' . __( 'News', 'backwpup' ) . '

'; if ( class_exists( 'BackWPup_Pro', FALSE ) ) $text_help_sidebar .= '

' . __( 'Pro Support', 'backwpup' ) . '

'; else $text_help_sidebar .= '

' . __( 'Support', 'backwpup' ) . '

'; $text_help_sidebar .= '

' . __( 'Manual', 'backwpup' ) . '

'; get_current_screen()->set_help_sidebar( $text_help_sidebar ); } } /** * @static * * @param array $tab */ public static function add_tab( $tab = array() ) { if ( method_exists( get_current_screen(), 'add_help_tab' ) ) get_current_screen()->add_help_tab( $tab ); } }