Optin Optin
Use code:
0 Day
00 Hour
00 Min
00 Sec
Logo

Documentation

s2_captcha_element

Introduced in Version 11, this filter allows adjustments to be made to the display of the ReCaptcha form element if needed.

function align_captcha_left( $element, $site_key, $shortcode_args ) {
    // Below code amends badge to compact size of form is from Widget
    if ( 'true' === $shortcode_args['widget']  ) {
        $element = str_replace( 'data-sitekey=', 'data-size="compact" data-sitekey=', $element );
    }
    return $element;
}
add_filter( 's2_captcha_element', 'align_captcha_left', 10, 3 );
Still stuck? Contact

How can we help?

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)