Reason of two hooks in content-product.php

This topic has 2 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler

  • Avatar: Royalty
    Royalty
    Participant
    May 8, 2018 at 14:31

    Hello,
    I am just wondering what these two hooks in content-product.php are for:
    Line 66: <?php do_action( ‘woocommerce_before_shop_loop_item’ ); ?>
    Line 75: do_action( ‘woocommerce_before_shop_loop_item_title’ );

    I see no difference when I disable them but the number of DOM elements is reduced and error notices in my source code disappear. So I would like to delete them but I am not sure if this would have any disadvantages?!

    Many thanks in advance!

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 10, 2018 at 07:49

    Hello,

    Thanks for the notice. I’ve passed it to our developers, these hooks would be removed in next theme update.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.