Created
November 3, 2023 14:11
-
-
Save thisissandip/1c3c0ba7a36742db57a0dc803331a8b3 to your computer and use it in GitHub Desktop.
Remove WooCommerce Bookings "Templates" tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_tab_7252021 ($tabs){ | |
unset($tabs['bookings_templates']); | |
return($tabs); | |
} | |
add_filter('woocommerce_product_data_tabs', 'remove_tab_7252021', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment