Created
October 10, 2018 16:09
-
-
Save farookibrahim/a5c62c09a4132bf2fdd49dca2467f249 to your computer and use it in GitHub Desktop.
Electro Remove Categories in Loop and Single
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 el_child_remove_product_category_info() { | |
remove_action( 'woocommerce_single_product_summary', 'electro_template_loop_categories', 1 ); | |
remove_action( 'woocommerce_before_shop_loop_item_title', 'electro_template_loop_categories', 20 ); | |
remove_action( 'woocommerce_shop_loop_item_title', 'electro_template_loop_categories', 50 ); | |
remove_action( 'electro_product_carousel_alt_content', 'electro_template_loop_categories', 30 ); | |
remove_action( 'electro_product_card_view_body', 'electro_template_loop_categories', 10 ); | |
} | |
add_action( 'init', 'el_child_remove_product_category_info', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment