How to add the custom code below to present features.php of the theme or childre

  • Member
    December 26, 2018 at 8:27 pm #7250

    Buenos días, por favor necesito ayuda para agregar este código y de esta manera poder editar los botones que aparecen en los tours.

    add_filter( ‘woocommerce_product_tabs’, ‘remove_tour_booking_tabs’, 98 );
    add_filter( ‘tour_booking_default_product_tabs’, ‘remove_tour_booking_tabs’, 98 );
    function remove_tour_booking_tabs( $tabs ) {
    //unset( $tabs[‘description’] ); // Remove the description tab
    //unset( $tabs[‘itinerary_tab’] ); // Remove the itinerary tab
    //unset( $tabs[‘location_tab’] ); // Remove the location tab
    unset( $tabs[‘reviews’] ); // Remove the Reviews tab
    return $tabs;

    Muchas Gracias

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.