PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.4
JetFormBuilder — Dynamic Blocks Form Builder v3.6.4
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 1.1.2 1.1.3 1.1.4 1.1.5 All 130 releases
jetformbuilder / modules / jet-plugins / module.php
module.php
48 lines 907 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace JFB_Modules\Jet_Plugins;
5
6 // If this file is called directly, abort.
7 if ( ! defined( 'WPINC' ) ) {
8 die;
9 }
10
11 use JFB_Components\Module\Base_Module_Handle_It;
12 use JFB_Components\Module\Base_Module_Handle_Trait;
13 use JFB_Components\Module\Base_Module_It;
14 use JFB_Components\Module\Base_Module_Url_It;
15 use JFB_Components\Module\Base_Module_Url_Trait;
16
17 class Module implements Base_Module_It, Base_Module_Url_It, Base_Module_Handle_It {
18
19 use Base_Module_Handle_Trait;
20 use Base_Module_Url_Trait;
21
22 const HANDLE = 'jet-plugins';
23
24 public function rep_item_id() {
25 return self::HANDLE;
26 }
27
28 public function condition(): bool {
29 return true;
30 }
31
32 public function init_hooks() {
33 }
34
35 public function remove_hooks() {
36 }
37
38 public function register_scripts() {
39 wp_register_script(
40 self::HANDLE,
41 $this->get_url( 'assets/build/index.js' ),
42 array( 'jquery' ),
43 '1.0.0',
44 true
45 );
46 }
47 }
48