admin_url( 'admin-ajax.php' ), 'formId' => $form_unique_id, 'hasRecaptcha' => (bool) $has_recaptcha, 'recaptchaSiteKey'=> (string) $recaptcha_site_key, 'i18n' => array( 'sending' => __( 'Sending…', 'torlann' ), 'error' => __( 'An error has occurred', 'torlann' ), 'connError' => __( 'Connection error. Please try again.', 'torlann' ), ), ) ); if ( $has_recaptcha ) { wp_enqueue_script( 'torlann-google-recaptcha', 'https://www.google.com/recaptcha/api.js?render=' . rawurlencode( (string) $recaptcha_site_key ), array(), null, // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion -- Remote Google reCAPTCHA script, versioned by Google. true ); } ?>

*