PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.3.7
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.3.7
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 / privacy / submissions-retention.php
wordpress-popup / views / admin / settings / privacy Last commit date
ip-address.php 6 years ago ip-delete.php 6 years ago ip-retention.php 5 years ago ip-tracking.php 5 years ago submissions-account-erasure.php 5 years ago submissions-privacy.php 6 years ago submissions-retention.php 5 years ago tracking-data.php 5 years ago
submissions-retention.php
62 lines
1 <?php
2 /**
3 * Submission retention row under the "privacy" tab.
4 *
5 * @package Hustle
6 * @since 4.0.3
7 */
8
9 ob_start();
10 ?>
11 <div class="sui-row">
12 <div class="sui-col-md-6">
13 <input type="number"
14 name="submissions_retention_number"
15 value="<?php echo esc_attr( $settings['submissions_retention_number'] ); ?>"
16 placeholder="0"
17 class="sui-form-control" />
18 </div>
19 <div class="sui-col-md-6" >
20 <select name="submissions_retention_number_unit" id="hustle-select-submissions_retention_number_unit">
21 <option value="days" <?php selected( 'days', $settings['submissions_retention_number_unit'] ); ?>><?php esc_html_e( 'day(s)', 'hustle' ); ?></option>
22 <option value="weeks" <?php selected( 'weeks', $settings['submissions_retention_number_unit'] ); ?>><?php esc_html_e( 'week(s)', 'hustle' ); ?></option>
23 <option value="months" <?php selected( 'months', $settings['submissions_retention_number_unit'] ); ?>><?php esc_html_e( 'month(s)', 'hustle' ); ?></option>
24 <option value="years" <?php selected( 'years', $settings['submissions_retention_number_unit'] ); ?>><?php esc_html_e( 'year(s)', 'hustle' ); ?></option>
25 </select>
26 </div>
27 </div>
28 <?php $custom_tab_content = ob_get_clean(); ?>
29
30 <fieldset class="sui-form-field">
31
32 <label class="sui-settings-label"><?php esc_html_e( 'Submissions Retention', 'hustle' ); ?></label>
33
34 <span class="sui-description" style="margin-bottom: 10px;"><?php esc_html_e( 'Choose how long to retain each module’s submissions for.', 'hustle' ); ?></span>
35
36 <?php
37 $this->render(
38 'admin/global/sui-components/sui-tabs',
39 array(
40 'name' => 'retain_submission_forever',
41 'radio' => true,
42 'saved_value' => $settings['retain_submission_forever'],
43 'sidetabs' => true,
44 'content' => true,
45 'options' => array(
46 '1' => array(
47 'value' => '1',
48 'label' => esc_html__( 'Forever', 'hustle' ),
49 ),
50 '0' => array(
51 'value' => '0',
52 'label' => esc_html__( 'Custom', 'hustle' ),
53 'boxed' => true,
54 'content' => $custom_tab_content,
55 ),
56 ),
57 )
58 );
59 ?>
60
61 </fieldset>
62