Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // Do not include this if already open! Code goes in theme functions.php.
- /*
- * Remove the Stripe "- OR -" separator on the cart and checkout pages.
- */
- remove_action( 'woocommerce_proceed_to_checkout', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 2 );
- remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement