Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Created March 27, 2013 16:36
Show Gist options
  • Save pwenzel/5255785 to your computer and use it in GitHub Desktop.
Save pwenzel/5255785 to your computer and use it in GitHub Desktop.
Get WPEngine CDN URL for your blog.
<?php
if (class_exists('WpeCommon')){
$wpe_common = new WpeCommon();
$cdn_url = $wpe_common->get_cdn_domain($wpe_netdna_domains,get_bloginfo( 'url' ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment