PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.3.4.2
JetFormBuilder — Dynamic Blocks Form Builder v3.3.4.2
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 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / load.php
jetformbuilder Last commit date
assets 2 years ago compatibility 2 years ago components 1 year ago includes 1 year ago languages 2 years ago modules 2 years ago templates 2 years ago vendor 2 years ago index.php 2 years ago jet-form-builder.php 1 year ago load.php 2 years ago readme.txt 1 year ago uninstall.php 2 years ago
load.php
39 lines
1 <?php
2
3 // If this file is called directly, abort.
4 if ( ! defined( 'WPINC' ) ) {
5 die();
6 }
7
8 if ( version_compare( PHP_VERSION, '7.0.0', '>=' ) ) {
9 require_once __DIR__ . '/includes/functions.php';
10 require_once __DIR__ . '/includes/plugin.php';
11 require_once __DIR__ . '/vendor/woocommerce/action-scheduler/action-scheduler.php';
12
13 jet_form_builder()->register_autoloader();
14
15 add_action( 'plugins_loaded', 'jet_form_builder_init' );
16
17 // we install this very early, because it could be needed in activation hook
18 $admin_module = new JFB_Modules\Admin\Module();
19 jet_form_builder()->get_modules()->install( $admin_module );
20
21 register_activation_hook(
22 JET_FORM_BUILDER__FILE__,
23 array( $admin_module, 'on_plugin_activate' )
24 );
25
26 return;
27 }
28
29 function jet_form_builder_print_notice() {
30 $class = 'notice notice-error';
31 $message = __(
32 '<b>Error:</b> <b>JetFormBuilder</b> plugin requires a PHP version ">= 7.0"',
33 'jet-form-builder'
34 );
35 printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), wp_kses_post( $message ) );
36 }
37
38 add_action( 'admin_notices', 'jet_form_builder_print_notice' );
39