PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.10.0
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.10.0
2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 0.0.2 0.0.3 All 96 releases
← All changes | plugin-loader.php +12 -0 2.8.02.10.0 View file →
@@ -12,8 +12,10 @@
12 12 use SRFM\Admin\Analytics;
13 13 use SRFM\Admin\Notice_Manager;
14 14 use SRFM\Inc\Abilities\Abilities_Registrar;
15 15 use SRFM\Inc\Activator;
16 +use SRFM\Inc\Admin\Editor_Nudge;
17 +use SRFM\Inc\Admin\Html_Form_Detector;
16 18 use SRFM\Inc\Admin_Ajax;
17 19 use SRFM\Inc\AI_Form_Builder\AI_Auth;
18 20 use SRFM\Inc\AI_Form_Builder\AI_Form_Builder;
19 21 use SRFM\Inc\AI_Form_Builder\AI_Helper;
@@ -32,8 +34,9 @@
32 34 use SRFM\Inc\Frontend_Assets;
33 35 use SRFM\Inc\Generate_Form_Markup;
34 36 use SRFM\Inc\Global_Settings\Email_Summary;
35 37 use SRFM\Inc\Global_Settings\Global_Settings;
38 +use SRFM\Inc\Global_Settings\Global_Settings_Defaults;
36 39 use SRFM\Inc\Gutenberg_Hooks;
37 40 use SRFM\Inc\Helper;
38 41 use SRFM\Inc\Learn;
39 42 use SRFM\Inc\Onboarding;
@@ -41,8 +44,9 @@
41 44 use SRFM\Inc\Payments\Payments;
42 45 use SRFM\Inc\Post_Types;
43 46 use SRFM\Inc\Rest_Api;
44 47 use SRFM\Inc\Single_Form_Settings\Compliance_Settings;
48 +use SRFM\Inc\Single_Form_Settings\Form_Settings_Api;
45 49 use SRFM\Inc\Smart_Tags;
46 50 use SRFM\Inc\Updater;
47 51
48 52 if ( ! defined( 'ABSPATH' ) ) {
@@ -211,9 +215,15 @@
211 215 if ( is_admin() ) {
212 216 Admin::get_instance();
213 217 // phpcs:ignore /** @phpstan-ignore-next-line */ -- Class is loaded dynamically in WordPress
214 218 Notice_Manager::get_instance();
219 + Editor_Nudge::get_instance();
215 220 }
221 + // Always instantiate — script enqueue is self-gated by `allow_load()`,
222 + // while the REST endpoint for converting HTML forms must register
223 + // outside the admin context (REST dispatch runs with `is_admin()` ===
224 + // false, so admin-only instantiation would 404 the endpoint).
225 + Html_Form_Detector::get_instance();
216 226 Payments::get_instance();
217 227 Duplicate_Form::get_instance();
218 228 Learn::get_instance();
219 229 }
@@ -292,10 +302,12 @@
292 302 Smart_Tags::get_instance();
293 303 Generate_Form_Markup::get_instance();
294 304 Create_New_Form::get_instance();
295 305 Global_Settings::get_instance();
306 + Global_Settings_Defaults::get_instance();
296 307 Email_Summary::get_instance();
297 308 Compliance_Settings::get_instance();
309 + Form_Settings_Api::get_instance();
298 310 Events_Scheduler::get_instance();
299 311 AI_Form_Builder::get_instance();
300 312 Field_Mapping::get_instance();
301 313 Background_Process::get_instance();