| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php if ( ! defined( 'ABSPATH' ) ) exit;
- return apply_filters( 'ninja_forms_plugin_settings_recaptcha', array(
- /*
- |--------------------------------------------------------------------------
- | Site Key
- |--------------------------------------------------------------------------
- */
- 'recaptcha_site_key' => array(
- 'id' => 'recaptcha_site_key',
- 'type' => 'textbox',
- 'label' => __( 'reCAPTCHA Site Key', 'ninja-forms' ),
- 'desc' => sprintf( __( 'Get a site key for your domain by registering %shere%s', 'ninja-forms' ), '<a href="https://www.google.com/recaptcha/intro/index.html" target="_blank">', '</a>' )
- ),
- /*
- |--------------------------------------------------------------------------
- | Secret Key
- |--------------------------------------------------------------------------
- */
- 'recaptcha_secret_key' => array(
- 'id' => 'recaptcha_secret_key',
- 'type' => 'textbox',
- 'label' => __( 'reCAPTCHA Secret Key', 'ninja-forms' ),
- 'desc' => '',
- ),
- /*
- |--------------------------------------------------------------------------
- | Language
- |--------------------------------------------------------------------------
- */
- 'recaptcha_lang' => array(
- 'id' => 'recaptcha_lang',
- 'type' => 'textbox',
- 'label' => __( 'reCAPTCHA Language', 'ninja-forms' ),
- 'desc' => 'e.g. en, da - ' . sprintf( __( 'Language used by reCAPTCHA. To get the code for your language click %shere%s', 'ninja-forms' ), '<a href="https://developers.google.com/recaptcha/docs/language" target="_blank">', '</a>' )
- ),
- /*
- |--------------------------------------------------------------------------
- | Theme
- |--------------------------------------------------------------------------
- */
- 'recaptcha_theme' => array(
- 'id' => 'recaptcha_theme',
- 'type' => 'select',
- 'options' => array(
- array( 'label' => __( 'Light', 'ninja-forms' ), 'value' => 'light' ),
- array( 'label' => __( 'Dark', 'ninja-forms' ), 'value' => 'dark' ),
- ),
- 'label' => __( 'reCAPTCHA Theme', 'ninja-forms' ),
- 'desc' => '',
- ),
- ));
|