Created
April 17, 2019 23:07
-
-
Save thomasplevy/2b83f7429ddfa9f1f7fc5f627ecee22e to your computer and use it in GitHub Desktop.
Define Stripe API keys as constants instead of saving them to your sites database (LifterLMS Stripe)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line to your functions.php file! | |
// Live API Keys. | |
define( 'LLMS_STRIPE_LIVE_PUBLISHABLE_KEY', 'pk_live_**************' ); | |
define( 'LLMS_STRIPE_LIVE_SECRET_KEY', 'sk_live_**************' ); | |
// Test API Keys. | |
define( 'LLMS_STRIPE_TEST_PUBLISHABLE_KEY', 'pk_test_**************' ); | |
define( 'LLMS_STRIPE_TEST_SECRET_KEY', 'sk_test_**************' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment