Can I change the text under my Contactfrom that is written automaticly when someone hasn’t accepted the reCaptcha Cookie?
I want a link “Cookie Settings” right after the automassage.
Hey fruntkeMarcel,
Thank you for the inquiry.
You can use the “avf_google_recaptcha_badge_content” filter to adjust the recaptcha badge content or insert additional info to it.
Example:
add_filter('avf_google_recaptcha_badge_content', function($badge) {
// $badge = '<div class="av-google-badge-message hidden">';
// $badge .= __( '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.', 'avia_framework' );
// $badge .= '</div>';
// $badge .= "<div class='custom-badge-content'>Additional Badge Content</div>";
return $badge;
}, 10, 1);
You can also use the “avf_sc_contact_form_elements” filter to insert custom form fields.
Best regards,
Ismael