Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1233157

    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.

    #1233767

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.