Skip to content

Instantly share code, notes, and snippets.

@ashwebstudio
Last active September 15, 2016 17:38
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 ashwebstudio/13ecc24bc172d13b9195a98bda7d2400 to your computer and use it in GitHub Desktop.
Save ashwebstudio/13ecc24bc172d13b9195a98bda7d2400 to your computer and use it in GitHub Desktop.
EDD Experiment Setup1
// In my header.php file right below the </head> tag
<?php if ( is_page( 'pro' ) && !edd_cart_has_discounts() ) {
<!-- Code provided by Google Experiments -->
<?php } } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment