| 1 |
<?php |
| 2 |
// Do not allow the file to be called directly. |
| 3 |
if ( ! defined( 'ABSPATH' ) ) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
?> |
| 7 |
<div class="g-recaptcha" data-sitekey="<?php echo esc_attr( $site_key ); ?>"></div> |
| 8 |
<noscript> |
| 9 |
<iframe src="https://www.google.com/recaptcha/api/fallback?k=<?php echo esc_attr( $site_key ); ?>"></iframe> |
| 10 |
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response"></textarea> |
| 11 |
</noscript> |
| 12 |
<script id="gRecaptchaSrc" src="https://www.google.com/recaptcha/api.js"></script> |
| 13 |
|