Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thisissandip/1c3c0ba7a36742db57a0dc803331a8b3 to your computer and use it in GitHub Desktop.
Save thisissandip/1c3c0ba7a36742db57a0dc803331a8b3 to your computer and use it in GitHub Desktop.
Remove WooCommerce Bookings "Templates" tab
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