Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action( 'init', 'my_child_disable_filters', 100 );
- function my_child_disable_filters() {
- // Remove Payment Method redirect on Checkout
- remove_action( 'woocommerce_checkout_order_processed', array( WC_GZDP_Contract_Helper::instance(), 'remove_gateway_redirect' ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement