Created
May 1, 2014 16:04
-
-
Save elioverbey/b10b8b5073b007dd9ed7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'gigya_global_enqueue' ); | |
function gigya_global_enqueue() { | |
$ss_url = $_ENV['secrets']['gigya_api_key']; | |
wp_enqueue_script( 'mysite-scripts', "https://cdns.gigya.com/JS/socialize.js?apiKey=$ss_url", array() ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment