Skip to main content
formatting and remove line link, there is not valid in the future
Source Link
bueltge
  • 17.1k
  • 7
  • 61
  • 97

you can findefind the file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php

foreach ( $tabs as $slug => $label ) {
    echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . ifesc_attr( $slug !=) "Product"){ ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
}

and edit html-admin-settings.php add code

foreach ( $tabs as $slug => $label ) {
    if( $slug != "Product"){
        echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }   
        }

you can finde file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code

foreach ( $tabs as $slug => $label ) {
            if( $slug != "Product"){
                echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }   
        }

you can find the file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php

foreach ( $tabs as $slug => $label ) {
    echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
}

and edit html-admin-settings.php add code

foreach ( $tabs as $slug => $label ) {
    if( $slug != "Product"){
        echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
    }   
}
deleted 14 characters in body
Source Link

you can finde file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code

foreach ( $tabs as $slug => $label ) {
            if( $slug != "Product"){
                echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }
            
            
        }

you can finde file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code

foreach ( $tabs as $slug => $label ) {
            if( $slug != "Product"){
                echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }
            
            
        }

you can finde file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code

foreach ( $tabs as $slug => $label ) {
            if( $slug != "Product"){
                echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }   
        }
Source Link

you can finde file in ~/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php , and edit html-admin-settings.php Line 26 add code

foreach ( $tabs as $slug => $label ) {
            if( $slug != "Product"){
                echo '<a href="' . esc_html( admin_url( 'admin.php?page=wc-settings&tab=' . esc_attr( $slug ) ) ) . '" class="nav-tab ' . ( $current_tab === $slug ? 'nav-tab-active' : '' ) . '">' . esc_html( $label ) . '</a>';
            }
            
            
        }