remove_action() not working in twentytwentytwo
-
Was looking to test something for compatibility-purposes and found that I was unable to get the following (or any) remove_action to work on the single product template.
functions.php:
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
Theme: Twenty Twenty Two
WordPress Core: 6.3.2
Plugins Installed: WooCommerce v8.2.1
Has something changed/was hook support dropped for block themes? Looking at the template, the hooks are identical, but maybe I am missing something. Just wondering how templates are supposed to be customized in Twenty Twenty Two.
Note: This was purely for demo/testing purposes to test functionality of something. I do not nor would I ever add code directly to a default theme.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘remove_action() not working in twentytwentytwo’ is closed to new replies.