Skip to content

Instantly share code, notes, and snippets.

@PaulHughes01
Created April 29, 2012 20:23
Show Gist options
  • Select an option

  • Save PaulHughes01/2553060 to your computer and use it in GitHub Desktop.

Select an option

Save PaulHughes01/2553060 to your computer and use it in GitHub Desktop.
Premium Theme affiliate functions.php copy/paste code.
<?php
/* Copy and paste the code below (edited as stated in the instructions below) in your premium theme's functions.php file. */
/* Copy and paste your Events Calendar Pro affiliate URL in between the quotes after `$affiliate_url = `. */
function tribe_affiliate_link_events_calendar_pro() {
$affiliate_url = 'http://THIS-IS-WHERE-THE-AFFILIATE-URL-GOES';
return $affiliate_url;
}
add_filter( 'tribe_help_tab_ecp_tribe_url', 'tribe_affiliate_link_events_calendar_pro' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment