Skip to content

Instantly share code, notes, and snippets.

@New0
Created October 1, 2018 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save New0/2faa2158fb7bb4209a0d3f6b165e1fec to your computer and use it in GitHub Desktop.
Save New0/2faa2158fb7bb4209a0d3f6b165e1fec to your computer and use it in GitHub Desktop.
Edit the T&C text and link of a Direct Stripe button
@New0
Copy link
Author

New0 commented Oct 12, 2018

Rewrite the condition for multiple buttons :

if ( ! in_array( $button_id, array( 'firstButtonID', 'secondButtonID', 'thirdButtonID' ) ) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment