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' ) ) ) . '

' . '

' . esc_html__( '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 .= '

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

'; $text_help_sidebar .= '

' . esc_html__( '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 ); } }