@@ -14,15 +14,15 @@ class Shapely {
1414 public $ recommended_actions ;
1515
1616 public $ theme_slug = 'shapely ' ;
17-
17+
1818 function __construct () {
1919
2020 if ( ! is_admin () && ! is_customize_preview () ) {
2121 return ;
2222 }
2323
2424 $ this ->load_class ();
25-
25+
2626 $ this ->recommended_actions = apply_filters (
2727 'shapely_required_actions ' , array (
2828 array (
@@ -123,17 +123,17 @@ public function init_customizer( $wp_customize ) {
123123
124124 }
125125
126- private function generate_action_html (){
126+ private function generate_action_html () {
127127
128128 $ import_actions = array (
129- 'set-frontpage ' => esc_html__ ( 'Set Static FrontPage ' , 'shapely ' ),
130- 'import-widgets ' => esc_html__ ( 'Import HomePage Widgets ' , 'shapely ' ),
129+ 'set-frontpage ' => esc_html__ ( 'Set Static FrontPage ' , 'shapely ' ),
130+ 'import-widgets ' => esc_html__ ( 'Import HomePage Widgets ' , 'shapely ' ),
131131 );
132132
133133 $ import_plugins = array (
134134 'shapely-companion ' => esc_html__ ( 'Shapely Companion ' , 'shapely ' ),
135- 'jetpack ' => esc_html__ ( 'Jetpack ' , 'shapely ' ),
136- 'contact-form-7 ' => esc_html__ ( 'Contact Form 7 ' , 'shapely ' ),
135+ 'jetpack ' => esc_html__ ( 'Jetpack ' , 'shapely ' ),
136+ 'contact-form-7 ' => esc_html__ ( 'Contact Form 7 ' , 'shapely ' ),
137137 );
138138
139139 $ plugins_html = '' ;
@@ -145,7 +145,7 @@ private function generate_action_html(){
145145 $ html = '<p><a class="button button-primary cpo-import-button epsilon-ajax-button" data-action="import_demo" id="add_default_sections" href="#"> ' . __ ( 'Import Demo Content ' , 'shapely ' ) . '</a> ' ;
146146 $ html .= '<a class="button epsilon-hidden-content-toggler" href="#welcome-hidden-content"> ' . __ ( 'Advanced ' , 'shapely ' ) . '</a></p> ' ;
147147 $ html .= '<div class="import-content-container" id="welcome-hidden-content"> ' ;
148-
148+
149149 foreach ( $ import_plugins as $ id => $ label ) {
150150 if ( ! Shapely_Notify_System::shapely_has_plugin ( $ id ) ) {
151151 $ plugins_html .= $ this ->generate_checkbox ( $ id , $ label , 'plugins ' );
@@ -160,7 +160,7 @@ private function generate_action_html(){
160160 $ html .= '</div> ' ;
161161 $ html .= '</div> ' ;
162162 }
163-
163+
164164 $ html .= '<div class="demo-content-container"> ' ;
165165 $ html .= '<h4> ' . __ ( 'Demo Content ' , 'shapely ' ) . '</h4> ' ;
166166 $ html .= '<div class="checkbox-group"> ' ;
@@ -182,4 +182,4 @@ private function generate_checkbox( $id, $label, $name = 'options', $block = fal
182182 }
183183
184184}
185- new Shapely ();
185+ new Shapely ();
0 commit comments