• Resolved dzseti

    (@dzseti)


    How do I remove the callback

    loop_product_thumbnail

    from the

    woocommerce_before_shop_loop_item_title

    hook?

    In certain cases I need to use an external, not wordpress image

    The callback

    loop_product_thumbnail

    is associated with the class

    OceanWP_WooCommerce_Config

    so that:

    remove_action('woocommerce_before_shop_loop_item_title', 'loop_product_thumbnail', 10);

    won’t work

Viewing 2 replies - 1 through 2 (of 2 total)
  • Abhishek

    (@abhikr781)

    Hello,

    Kindly try to change the priority and try to use the same priority which used in the templated and check.

    Thread Starter dzseti

    (@dzseti)

    Hi

    Thanks for this. I tried this and a number of other changes, but without success here. Managed to work my way around the problem by changing several image template files in my theme

    So not really sure how to do what I originally asked, but no longer necessary anyway

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘remove loop_product_thumbnail from hook’ is closed to new replies.