Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <?php // Do not include this if already open! Code goes in theme functions.php.
  2.  
  3. /*
  4. * Remove the Stripe "- OR -" separator on the cart and checkout pages.
  5. */
  6. remove_action( 'woocommerce_proceed_to_checkout', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 2 );
  7. 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