Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * woocommerce_shop_loop_item_title hook.
- *
- * @hooked woocommerce_template_loop_product_title - 10
- */
- do_action( 'woocommerce_shop_loop_item_title' );
- /**
- * woocommerce_after_shop_loop_item_title hook.
- *
- * @hooked woocommerce_template_loop_rating - 5
- * @hooked woocommerce_template_loop_price - 10
- */
- do_action( 'woocommerce_after_shop_loop_item_title' );
- /**
- * woocommerce_after_shop_loop_item hook.
- *
- * @hooked woocommerce_template_loop_product_link_close - 5
- * @hooked woocommerce_template_loop_add_to_cart - 10
- */
- do_action( 'woocommerce_after_shop_loop_item' );
- ...
- ...
- /**
- * Adds the Switch View buttons
- */
- function shophistic_lite_show_attribute() {
- ...
- }
- add_action( 'woocommerce_after_shop_loop_item_title', 'shophistic_lite_show_attribute', 15 );
- ...
- ...
- function remove_functions() {
- remove_action( 'woocommerce_after_shop_loop_item_title', 'shophistic_lite_show_attribute', 15 );
- }
- add_action('woocommerce_after_shop_loop_item' , 'remove_functions' );
- ...
- function child_custom_actions() {
- remove_action( 'woocommerce_after_shop_loop_item_title', 'shophistic_lite_show_attribute', 15 );
- }
- add_action( 'init' , 'child_custom_actions' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement