-
Good morning, please I need help to add this code and this way I can edit the buttons that appear in the tours.
add_filter (‘woocommerce_product_tabs’, ‘remove_tour_booking_tabs’, 98);
add_filter (‘tour_booking_default_product_tabs’, ‘remove_tour_booking_tabs’, 98);
función remove_tour_booking_tabs ($ tabs) {
// unset ($ tabs [‘description’]); // Eliminar la pestaña de descripción
// desarmar ($ tabs [‘itinerary_tab’]); // Eliminar la pestaña del itinerario
// desarmar ($ tabs [‘location_tab’]); // Eliminar la pestaña de ubicación sin establecer
($ tabs [‘reviews’]); // Eliminar la pestaña Revisiones
devolver $ tabs;
}This is the error that I get when I enter the code in functions.php
Thank you
Sorry, this forum is for verified users only. Please Login
Support Hours
 Our forum hours are:
08:00 AM - 5:00 PM
Current time:
-