unable to unhook woocommerce_checkout_payment
-
the following code does not remove the action…why?
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 99999 );
editing WC core file just commenting it out works fine: (line 206)
file https://github.com/woothemes/woocommerce/blob/master/includes/wc-template-hooks.phpadding action works fine.
add_action( 'wherever', 'woocommerce_checkout_payment', 20 );
just curios as to why it is not possible to unhook this action?
- The topic ‘unable to unhook woocommerce_checkout_payment’ is closed to new replies.