Skip to content

s2_recaptcha_lang

  • Subscribe2
  • Updated Nov 23, 2023
  • 1 min read

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' );

Last updated on

Filed under Hooks, API & Customization

Still stuck?

Our support team can walk you through it.