| @@ -63,20 +63,17 @@ | ||
| 63 | 63 | if ( ! is_admin() ) { |
| 64 | 64 | return; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - $this->classes['admin_bulk_edit'] = new ConvertKit_Admin_Bulk_Edit(); | |
| 68 | - $this->classes['admin_category'] = new ConvertKit_Admin_Category(); | |
| 69 | - $this->classes['admin_notices'] = new ConvertKit_Admin_Notices(); | |
| 70 | - $this->classes['admin_post'] = new ConvertKit_Admin_Post(); | |
| 71 | - $this->classes['admin_quick_edit'] = new ConvertKit_Admin_Quick_Edit(); | |
| 72 | - $this->classes['admin_refresh_resources'] = new ConvertKit_Admin_Refresh_Resources(); | |
| 73 | - $this->classes['admin_restrict_content'] = new ConvertKit_Admin_Restrict_Content(); | |
| 74 | - $this->classes['admin_settings'] = new ConvertKit_Admin_Settings(); | |
| 75 | - $this->classes['admin_setup_wizard_plugin'] = new ConvertKit_Admin_Setup_Wizard_Plugin(); | |
| 76 | - $this->classes['admin_setup_wizard_restrict_content'] = new ConvertKit_Admin_Setup_Wizard_Restrict_Content(); | |
| 77 | - $this->classes['admin_tinymce'] = new ConvertKit_Admin_TinyMCE(); | |
| 78 | - $this->classes['admin_user'] = new ConvertKit_Admin_User(); | |
| 67 | + $this->classes['admin_bulk_edit'] = new ConvertKit_Admin_Bulk_Edit(); | |
| 68 | + $this->classes['admin_category'] = new ConvertKit_Admin_Category(); | |
| 69 | + $this->classes['admin_post'] = new ConvertKit_Admin_Post(); | |
| 70 | + $this->classes['admin_quick_edit'] = new ConvertKit_Admin_Quick_Edit(); | |
| 71 | + $this->classes['admin_refresh_resources'] = new ConvertKit_Admin_Refresh_Resources(); | |
| 72 | + $this->classes['admin_settings'] = new ConvertKit_Admin_Settings(); | |
| 73 | + $this->classes['admin_setup_wizard_plugin'] = new ConvertKit_Admin_Setup_Wizard_Plugin(); | |
| 74 | + $this->classes['admin_tinymce'] = new ConvertKit_Admin_TinyMCE(); | |
| 75 | + $this->classes['admin_user'] = new ConvertKit_Admin_User(); | |
| 79 | 76 | |
| 80 | 77 | /** |
| 81 | 78 | * Initialize integration classes for the WordPress Administration interface. |
| 82 | 79 | * |
| @@ -139,10 +136,9 @@ | ||
| 139 | 136 | if ( is_admin() ) { |
| 140 | 137 | return; |
| 141 | 138 | } |
| 142 | 139 | |
| 143 | - $this->classes['output'] = new ConvertKit_Output(); | |
| 144 | - $this->classes['output_restrict_content'] = new ConvertKit_Output_Restrict_Content(); | |
| 140 | + $this->classes['output'] = new ConvertKit_Output(); | |
| 145 | 141 | |
| 146 | 142 | /** |
| 147 | 143 | * Initialize integration classes for the frontend web site. |
| 148 | 144 | * |
| @@ -159,23 +155,21 @@ | ||
| 159 | 155 | * @since 1.9.6 |
| 160 | 156 | */ |
| 161 | 157 | private function initialize_global() { |
| 162 | 158 | |
| 163 | - $this->classes['ajax'] = new ConvertKit_AJAX(); | |
| 164 | - $this->classes['blocks_convertkit_broadcasts'] = new ConvertKit_Block_Broadcasts(); | |
| 165 | - $this->classes['blocks_convertkit_content'] = new ConvertKit_Block_Content(); | |
| 166 | - $this->classes['blocks_convertkit_form_trigger'] = new ConvertKit_Block_Form_Trigger(); | |
| 167 | - $this->classes['blocks_convertkit_form'] = new ConvertKit_Block_Form(); | |
| 168 | - $this->classes['blocks_convertkit_product'] = new ConvertKit_Block_Product(); | |
| 169 | - $this->classes['block_formatter_form_link'] = new ConvertKit_Block_Formatter_Form_Link(); | |
| 170 | - $this->classes['block_formatter_product_link'] = new ConvertKit_Block_Formatter_Product_Link(); | |
| 171 | - $this->classes['elementor'] = new ConvertKit_Elementor(); | |
| 172 | - $this->classes['gutenberg'] = new ConvertKit_Gutenberg(); | |
| 173 | - $this->classes['review_request'] = new ConvertKit_Review_Request( 'ConvertKit', 'convertkit', CONVERTKIT_PLUGIN_PATH ); | |
| 174 | - $this->classes['preview_output'] = new ConvertKit_Preview_Output(); | |
| 175 | - $this->classes['setup'] = new ConvertKit_Setup(); | |
| 176 | - $this->classes['shortcodes'] = new ConvertKit_Shortcodes(); | |
| 177 | - $this->classes['widgets'] = new ConvertKit_Widgets(); | |
| 159 | + $this->classes['ajax'] = new ConvertKit_AJAX(); | |
| 160 | + $this->classes['blocks_convertkit_broadcasts'] = new ConvertKit_Block_Broadcasts(); | |
| 161 | + $this->classes['blocks_convertkit_content'] = new ConvertKit_Block_Content(); | |
| 162 | + $this->classes['blocks_convertkit_product'] = new ConvertKit_Block_Product(); | |
| 163 | + $this->classes['blocks_convertkit_form'] = new ConvertKit_Block_Form(); | |
| 164 | + $this->classes['elementor'] = new ConvertKit_Elementor(); | |
| 165 | + $this->classes['gutenberg'] = new ConvertKit_Gutenberg(); | |
| 166 | + $this->classes['post_type_product'] = new ConvertKit_Post_Type_Product(); | |
| 167 | + $this->classes['review_request'] = new ConvertKit_Review_Request( 'ConvertKit', 'convertkit', CONVERTKIT_PLUGIN_PATH ); | |
| 168 | + $this->classes['preview_output'] = new ConvertKit_Preview_Output(); | |
| 169 | + $this->classes['setup'] = new ConvertKit_Setup(); | |
| 170 | + $this->classes['shortcodes'] = new ConvertKit_Shortcodes(); | |
| 171 | + $this->classes['widgets'] = new ConvertKit_Widgets(); | |
| 178 | 172 | |
| 179 | 173 | // Run the setup's update process on WordPress' init hook. |
| 180 | 174 | // Doing this sooner may result in errors with WordPress functions that are not yet |
| 181 | 175 | // available to the update routine. |