Home / Admin / WP Simple Pay: Hide reCAPTCHA Badge
Duplicate Snippet

Embed Snippet on Your Site

WP Simple Pay: Hide reCAPTCHA Badge

Hide the reCAPTCHA badge and add links to the privacy policy and terms of service. Adds CSS to hide the badge and add links to Google terms and policies.

For more information please review https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed

Code Preview
php
<?php
/**
 * @link https://library.wpcode.com/snippet/ro8w3kow/
 */
add_action(
	'simpay_form_before_form_bottom',
	function() {
	?>
		
<style>.grecaptcha-badge { display: none; }</style>
<p>This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.</p>
		
	<?php
	}
);

Comments

Add a Comment