/** * Setup the help tabs based on what's being displayed for the page. * * @since 1.0.0 * * @uses Documenter::setup_help_tabs() to display the appropriate help tabs. */ public static function display_help_tabs() { $screen = get_current_screen(); // Abort if not the admin page for this plugin if ($screen->id != 'tools_page_pomo-editor') { return; } // If the file is specified, setup the interface help tabs if (isset($_GET['pofile'])) { Documenter::setup_help_tabs('editor'); } else { Documenter::setup_help_tabs('index'); } }