PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.14.1
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.14.1
7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / settings / turnstile / api-keys.php
wordpress-popup / views / admin / settings / turnstile Last commit date
api-keys.php 1 month ago language.php 1 month ago
api-keys.php
76 lines
1 <?php
2 /**
3 * Hustle Turnstile API Keys Settings Template.
4 *
5 * @package Hustle
6 * @since 7.8.13
7 */
8
9 ?>
10 <div class="sui-form-field">
11
12 <label for="hustle-turnstile-api-key" id="hustle-turnstile-api-key-label" class="sui-label">
13 <?php esc_html_e( 'API Key (Site Key)', 'hustle' ); ?>
14 </label>
15
16 <input
17 type="text"
18 name="turnstile_api_key"
19 value="<?php echo esc_attr( $settings['turnstile_api_key'] ); ?>"
20 placeholder="<?php esc_html_e( 'Enter your Turnstile site key here', 'hustle' ); ?>"
21 id="hustle-turnstile-api-key"
22 class="sui-form-control"
23 aria-labelledby="hustle-turnstile-api-key-label"
24 />
25 <span class="sui-description"><?php esc_html_e( 'The site key is used to render the Turnstile widget on your opt-in forms. You can find it in your Cloudflare Turnstile dashboard.', 'hustle' ); ?></span>
26
27 </div>
28
29 <div class="sui-form-field">
30
31 <label for="hustle-turnstile-client-secret" id="hustle-turnstile-client-secret-label" class="sui-label">
32 <?php esc_html_e( 'Client Secret Key', 'hustle' ); ?>
33 </label>
34
35 <input
36 type="password"
37 name="turnstile_client_secret"
38 value="<?php echo esc_attr( $settings['turnstile_client_secret'] ); ?>"
39 placeholder="<?php esc_html_e( 'Enter your Turnstile secret key here', 'hustle' ); ?>"
40 id="hustle-turnstile-client-secret"
41 class="sui-form-control"
42 aria-labelledby="hustle-turnstile-client-secret-label"
43 />
44 <span class="sui-description"><?php esc_html_e( 'The secret key is used for server-side verification. Keep it private and never expose it publicly.', 'hustle' ); ?></span>
45
46 </div>
47 <div class="sui-form-field" data-id="checkbox" data-render-id="0">
48
49 <label class="sui-label"><?php esc_html_e( 'Turnstile Captcha Preview', 'hustle' ); ?></label>
50
51 <div
52 id="hustle-modal-turnstile-captcha-0"
53 class="hustle-turnstile-preview-container hustle-turnstile"
54 style="display: none;"
55 data-sitekey=""
56 data-theme="light"
57 data-size="normal"
58 data-language="<?php echo isset( $settings['language'] ) ? esc_attr( $settings['language'] ) : 'auto'; ?>"
59 ></div>
60
61 <?php
62 $this->get_html_for_options(
63 array(
64 array(
65 'type' => 'inline_notice',
66 'class' => 'hustle-turnstile-captcha-0-preview-notice',
67 'icon' => 'info',
68 'value' => esc_html__( 'Save your API keys to load the Turnstile preview.', 'hustle' ),
69 'attributes' => array(
70 'style' => 'margin-top: 0;',
71 ),
72 ),
73 )
74 );
75 ?>
76 </div>