PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.6
JetFormBuilder — Dynamic Blocks Form Builder v3.6.6
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
← All changes | compatibility/jet-engine/jet-engine.php +11 -0 3.6.1 → 3.6.6 View file →
@@ -18,8 +18,9 @@
18 18 use JFB_Compatibility\Jet_Engine\Methods\Post_Modification\Post_Je_Relation_Property;
19 19 use JFB_Compatibility\Jet_Engine\Option_Query\Inner_Module;
20 20 use JFB_Compatibility\Jet_Engine\Preset_Sources\Preset_Source_Options_Page;
21 21 use JFB_Compatibility\Jet_Engine\Preset_Sources\Preset_User;
22 +use JFB_Compatibility\Jet_Engine\Update_Options_Notice;
22 23 use JFB_Components\Compatibility\Base_Compat_Dir_Trait;
23 24 use JFB_Components\Compatibility\Base_Compat_Handle_Trait;
24 25 use JFB_Components\Compatibility\Base_Compat_Url_Trait;
25 26 use JFB_Components\Module\Base_Module_After_Install_It;
@@ -63,8 +64,13 @@
63 64 * @var Bricks
64 65 */
65 66 private $bricks;
66 67
68 + /**
69 + * @var Update_Options_Notice
70 + */
71 + private $update_options_notice;
72 +
67 73 public function rep_item_id() {
68 74 return 'jet-engine';
69 75 }
70 76
@@ -75,8 +81,9 @@
75 81 public function on_install() {
76 82 $this->option_query = new Inner_Module();
77 83 $this->elementor = new Elementor();
78 84 $this->bricks = new Bricks();
85 + $this->update_options_notice = new Update_Options_Notice();
79 86 }
80 87
81 88 public function on_uninstall() {
82 89 $this->option_query = null;
@@ -81,8 +88,9 @@
81 88 public function on_uninstall() {
82 89 $this->option_query = null;
83 90 $this->elementor = null;
84 91 $this->bricks = null;
92 + $this->update_options_notice = null;
85 93 }
86 94
87 95 public function init_hooks() {
88 96 add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts' ) );
@@ -156,8 +164,10 @@
156 164 if ( jet_form_builder()->has_compat( 'bricks' ) ) {
157 165 $this->bricks->init_hooks();
158 166 }
159 167
168 + $this->update_options_notice->init_hooks();
169 +
160 170 /**
161 171 * @see https://github.com/Crocoblock/issues-tracker/issues/12555
162 172 */
163 173 add_action( 'jet-engine/rest-api/init-endpoints', array( $this, 'rewrite_map_location_data_endpoint' ), 99 );
@@ -223,8 +233,9 @@
223 233 );
224 234 }
225 235
226 236 $this->option_query->remove_hooks();
237 + $this->update_options_notice->remove_hooks();
227 238
228 239 /**
229 240 * @see https://github.com/Crocoblock/issues-tracker/issues/12555
230 241 */