PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.1.2
JetFormBuilder — Dynamic Blocks Form Builder v3.1.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 / modules / gateways / pages / single-payment-print-page.php
jetformbuilder / modules / gateways / pages Last commit date
export-page.php 2 years ago gateways-pages-trait.php 2 years ago payments-page.php 2 years ago print-page.php 2 years ago single-payment-page.php 2 years ago single-payment-print-page.php 2 years ago
single-payment-print-page.php
57 lines
1 <?php
2
3
4 namespace JFB_Modules\Gateways\Pages;
5
6 use Jet_Form_Builder\Admin\Pages\Pages_Manager;
7 use Jet_Form_Builder\Admin\Single_Pages\Base_Single_Page;
8 use Jet_Form_Builder\Admin\Single_Pages\Meta_Containers;
9 use JFB_Modules\Gateways\Meta_Boxes\Payer_Box;
10 use JFB_Modules\Gateways\Meta_Boxes\Payer_Shipping_Box;
11 use Jet_Form_Builder\Gateways\Meta_Boxes\Payment_Details_Box;
12
13 // If this file is called directly, abort.
14 if ( ! defined( 'WPINC' ) ) {
15 die;
16 }
17
18 class Single_Payment_Print_Page extends Base_Single_Page {
19
20 use Gateways_Pages_Trait;
21
22 /**
23 * Page title
24 */
25 public function title(): string {
26 return __( 'JetFormBuilder Payment', 'jet-form-builder' );
27 }
28
29 public function slug(): string {
30 return 'payment-print';
31 }
32
33 public function parent_slug(): string {
34 return Payments_Page::SLUG;
35 }
36
37 public function meta_containers(): array {
38 return array(
39 new Meta_Containers\Normal_Meta_Container(
40 new Payer_Box(),
41 new Payer_Shipping_Box()
42 ),
43 new Meta_Containers\Side_Meta_Container(
44 new Payment_Details_Box()
45 ),
46 );
47 }
48
49 public function assets() {
50 wp_enqueue_style( Pages_Manager::STYLE_ADMIN );
51 wp_enqueue_script( Pages_Manager::SCRIPT_VUEX_PACKAGE );
52
53 parent::assets();
54 }
55
56 }
57