<recaptcha-site-key/>
Provided by module: Tags: Google reCAPTCHA
Returns the Site Key for a named key pair
<script>
var reCaptchaCallback = function() {
grecaptcha.render('my-recaptcha-container', {
sitekey: '<recaptcha-site-key name="my-configuration" />'
});
};
</script> |
Attributes
- name="string"
-
The name of the named key pair to get the Site Key for.
- variable="string"
-
If given, the resolved key will be placed in this variable instead of
beging returned from the tag. Ex: variable="var.my-site-key"