id == 'edit-help-docs-folder' ) {
$tab = 'folders';
} elseif ( $current_screen->post_type == 'help-docs' ) {
$tab = 'manage';
} elseif ( $current_screen->post_type == 'help-doc-imports' ) {
$tab = 'imports';
} else {
$tab = helpdocs_get( 'tab' ) ?? 'documentation';
}
// Get the logo
$logo = helpdocs_logo();
// Get the colors
$HELPDOCS_COLORS = new HELPDOCS_COLORS();
$color_bg = $HELPDOCS_COLORS->get( 'bg' );
$color_fg = $HELPDOCS_COLORS->get( 'fg' );
$color_cl = $HELPDOCS_COLORS->get( 'cl' );
?>
Version