Skip to content

Instantly share code, notes, and snippets.

View roelbroersma's full-sized avatar

Roel Broersma roelbroersma

View GitHub Profile
@Neshable
Neshable / class-woo-conditional-stripe-keys.php
Created July 8, 2019 10:20
Woocommerce Multiple Stripe Accounts Support
/**
* Dynamically change Stripe keys upon conditions
*/
if ( !class_exists( 'Woo_Conditional_Stripe_Keys' ) ) {
class Woo_Conditional_Stripe_Keys {
/**
* Stripe Live publishable key