Last active
April 30, 2017 11:07
-
-
Save barbareshet/797de758522df4955c29a39c916a1b64 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
/* | |
* | |
* Add google reCaptcha script to the header | |
*/ | |
function add_google_capt_script(){ | |
ob_start() ;?> | |
<script src='https://www.google.com/recaptcha/api.js' async></script> | |
<?php echo ob_get_clean(); | |
} | |
add_action('wp_head','add_google_capt_script'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment