PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.2.1
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.2.1
7.8.14.2 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 / embedded / wizard.php
wordpress-popup / views / admin / embedded Last commit date
dashboard.php 6 years ago listing.php 6 years ago wizard.php 6 years ago
wizard.php
121 lines
1 <?php
2 /**
3 * Embedded wizard.
4 *
5 * @var Opt_In $this
6 *
7 * @package Hustle
8 * @since 4.0.0
9 */
10
11 $module_type = $module->module_type;
12 $module_name = $module->module_name;
13 $appearance_settings = $module->get_design()->to_array();
14 $content_settings = $module->get_content()->to_array();
15 $email_settings = $module->get_emails()->to_array();
16 $visibility_settings = $module->get_visibility()->to_array();
17 $form_elements = ! empty( $email_settings['form_elements'] ) ? $email_settings['form_elements'] : array();
18
19 $capitalize_singular = esc_html__( 'Embed', 'hustle' );
20 $capitalize_plural = esc_html__( 'Embeds', 'hustle' );
21 $smallcaps_singular = esc_html__( 'embed', 'hustle' );
22 $smallcaps_plural = esc_html__( 'embeds', 'hustle' );
23
24 $this->render(
25 'admin/commons/sui-wizard/wizard',
26 array(
27 'page_id' => 'hustle-module-wizard-view',
28 'page_tab' => $section,
29 'module' => $module,
30 'module_id' => $module_id,
31 'module_name' => $module->module_name,
32 'module_mode' => $is_optin,
33 'module_status' => $is_active,
34 'module_type' => $module_type,
35 'capitalize_singular' => $capitalize_singular,
36 'smallcaps_singular' => $smallcaps_singular,
37 'form_elements' => $form_elements,
38 'wizard_tabs' => array(
39 'content' => array(
40 'name' => esc_html__( 'Content', 'hustle' ),
41 'template' => 'admin/commons/sui-wizard/templates/tab-content',
42 'support' => array(
43 'section' => $section,
44 'settings' => $content_settings,
45 'is_optin' => $is_optin,
46 'module_type' => $module_type,
47 'smallcaps_singular' => $smallcaps_singular,
48 ),
49 ),
50 'emails' => array(
51 'name' => esc_html__( 'Emails', 'hustle' ),
52 'template' => 'admin/commons/sui-wizard/templates/tab-emails',
53 'support' => array(
54 'section' => $section,
55 'settings' => $email_settings,
56 'module' => $module,
57 ),
58 'is_optin' => true,
59 ),
60 'integrations' => array(
61 'name' => esc_html__( 'Integrations', 'hustle' ),
62 'template' => 'admin/commons/sui-wizard/templates/tab-integrations',
63 'support' => array(
64 'section' => $section,
65 'settings' => $module->get_integrations_settings()->to_array(),
66 'smallcaps_singular' => $smallcaps_singular,
67 ),
68 'is_optin' => true,
69 ),
70 'appearance' => array(
71 'name' => esc_html__( 'Appearance', 'hustle' ),
72 'template' => 'admin/commons/sui-wizard/templates/tab-appearance',
73 'support' => array(
74 'section' => $section,
75 'is_optin' => $is_optin,
76 'module_type' => $module_type,
77 'capitalize_singular' => $capitalize_singular,
78 'smallcaps_singular' => $smallcaps_singular,
79 'feature_image' => $content_settings['feature_image'],
80 'settings' => $appearance_settings,
81 ),
82 ),
83 'display' => array(
84 'name' => esc_html__( 'Display Options', 'hustle' ),
85 'template' => 'admin/commons/sui-wizard/templates/tab-display',
86 'support' => array(
87 'settings' => $module->get_display()->to_array(),
88 'section' => $section,
89 'shortcode_id' => $module->get_shortcode_id(),
90 ),
91 ),
92 'visibility' => array(
93 'name' => esc_html__( 'Visibility', 'hustle' ),
94 'template' => 'admin/commons/sui-wizard/templates/tab-visibility',
95 'support' => array(
96 'section' => $section,
97 'module_type' => $module_type,
98 'settings' => $visibility_settings,
99 'smallcaps_singular' => $smallcaps_singular,
100 ),
101 ),
102 'behavior' => array(
103 'name' => esc_html__( 'Behavior', 'hustle' ),
104 'template' => 'admin/commons/sui-wizard/templates/tab-behaviour',
105 'support' => array(
106 'section' => $section,
107 'settings' => $module->get_settings()->to_array(),
108 'is_optin' => $is_optin,
109 'is_active' => $is_active,
110 'module_type' => $module_type,
111 'capitalize_singular' => $capitalize_singular,
112 'capitalize_plural' => $capitalize_plural,
113 'smallcaps_singular' => $smallcaps_singular,
114 'shortcode_id' => $module->get_shortcode_id(),
115 'show_cta' => $content_settings['show_cta'],
116 ),
117 ),
118 ),
119 )
120 );
121