PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.4.7
JetFormBuilder — Dynamic Blocks Form Builder v3.4.7
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 / modules / actions-v2 / send-email / send-email.php
jetformbuilder / modules / actions-v2 / send-email Last commit date
assets 1 year ago send-email-action.php 1 year ago send-email-hooks.php 1 year ago send-email.php 1 year ago
send-email.php
55 lines
1 <?php
2
3 namespace JFB_Modules\Actions_V2\Send_Email;
4
5 use Jet_Form_Builder\Actions\Manager;
6 use JFB_Modules\Actions_V2\Interfaces\Action_Integration_Interface;
7 use JFB_Modules\Actions_V2\Traits\Action_Integration_Trait;
8
9 class Send_Email implements Action_Integration_Interface {
10
11 use Action_Integration_Trait;
12
13 public function rep_item_id() {
14 return 'send-email';
15 }
16
17 public function init_hooks() {
18 add_action(
19 'jet-form-builder/editor-assets/after',
20 array( $this, 'editor_assets' )
21 );
22
23 // register basic hook for formatting settings
24 Send_Email_Hooks::register();
25 }
26
27 public function on_install() {
28 // TODO: Implement on_install() method.
29 }
30
31 public function register_actions( Manager $manager ) {
32 $manager->register_action_type( new Send_Email_Action() );
33 }
34
35 public function editor_assets() {
36 $script_asset = require_once $this->get_dir( 'assets/build/editor.asset.php' );
37
38 array_push(
39 $script_asset['dependencies'],
40 'jet-fb-components',
41 'jet-fb-data',
42 'jet-fb-actions-v2',
43 'jet-fb-blocks-v2-to-actions-v2'
44 );
45
46 wp_enqueue_script(
47 $this->get_handle(),
48 $this->get_url( 'assets/build/editor.js' ),
49 $script_asset['dependencies'],
50 $script_asset['version'],
51 true
52 );
53 }
54 }
55