Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    If you want to unhook something use remove_action(). E.G.

    remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 );

    Thread Starter TimoVeld

    (@timoveld)

    That was exactly what I was looking for, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clean way to disable hooks?’ is closed to new replies.