I'm the Grand Codemaster at a small marketing firm. I've been in Web Design and Web Development since 2010. I'm teaching myself GitHub to level up more.
-
Xhynk
- The Internet
- xhynk.github.io
Pinned Loading
-
A simple method to copy live Stripe ...
A simple method to copy live Stripe products (and their plans) to your Testing area. The `$illegal_params` array can be modified as needed, and more fields can be added to both creation methods. In my case I just needed the Product Name and Metadata, and have a lot of old plans, so figured I'd get all the data, and remove the illegal or unused params. 1<?php
2// Start a Stripe Client for Live and Test
3$stripe_live = new \Stripe\StripeClient( 'YOUR_LIVE_SECRET' );
4$stripe_test = new \Stripe\StripeClient( 'YOUR_TEST_SECRET' );
5 -
Update Bulk Content Masks
Update Bulk Content Masks 1add_action( 'init', 'insert_content_masks' );
2function insert_content_masks(){
3$array_of_mask_urls = array(
4'https://landing-page.com/page-1',
5'https://landing-page.com/page-2',
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.