1. Home
  2. Docs
  3. Subscribe2
  4. Hooks, API & Customization
  5. s2_recaptcha_lang


Introduced in Version 11, this filter allows the preferred language for the ReCaptcha for element to be changed.

function my_recaptcha_lang( $lang ) {
    // Language codes are listed at https://developers.google.com/recaptcha/docs/language
    return 'de';
add_filter( 's2_recaptcha_lang', 'my_recaptcha_lang' );
Was this article helpful to you? Yes No

How can we help?