• Hello,

    I downloaded this plugin to test if it matches with our needs.
    Is it possible to remove an action from the loop via a line in functions.php in our child theme?

    add_action(‘woocommerce_after_shop_loop_item’, array($this, ‘auction_end_start’), 8);

    We tried “remove_action(‘woocommerce_after_shop_loop_item’, array( YITH_Auction_Frontend(), ‘auction_end_start’), 8);” but it didn’t work.

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    you may use following code to achieve your goal.

    remove_action(‘woocommerce_after_shop_loop_item’, array( YITH_Auction_Frontend::get_instance(), ‘auction_end_start’), 8);

    We hope to be helpful for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove action’ is closed to new replies.