• Resolved akshat05

    (@akshat05)


    Hi,

    I want to use remove_action for add_action( 'woocommerce_single_product_summary', array( $this, 'add_compare_link' ), 35 ); in my child theme, I want to add it to another action, kindly help me with the snippet to use remove_action.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    Thanks for contacting us and I hope you’re doing well ??

    Please add the following code on your functions.php

    remove_action( 'woocommerce_single_product_summary', array( YITH_WCWL_Init::get_instance(), 'add_compare_link' ), 35 );

    Please try it and let us know.

    Have a good day.

    Plugin Author YITHEMES

    (@yithemes)

    Hello,
    hope you are doing well! ??

    Seem that this thread doesn’t have any activity, so we think that the problem is solved and we will proceed to close it.

    Anyway, if you have any issue don’t hesitate to contact us.

    Have a good day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using remove_action’ is closed to new replies.