PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | config/settings/gateway/offline-payment.php +42 -42 4.3.94.4.8 View file →
@@ -1,42 +1,42 @@
1 -<?php
2 -/**
3 - * Fields settings Offline Payment
4 - */
5 -
6 -/**
7 - * @var LP_Gateway_Offline_Payment $lp_gateway_offline_payment
8 - */
9 -if ( ! isset( $lp_gateway_offline_payment ) ) {
10 - return [];
11 -}
12 -
13 -return apply_filters(
14 - 'learn-press/gateway-payment/offline-payment/settings',
15 - array(
16 - array(
17 - 'type' => 'title',
18 - ),
19 - array(
20 - 'title' => __( 'Enable', 'learnpress' ),
21 - 'id' => '[enable]',
22 - 'default' => 'yes',
23 - 'type' => 'checkbox',
24 - ),
25 - array(
26 - 'title' => __( 'Testing Mode', 'learnpress' ),
27 - 'id' => '[sandbox]',
28 - 'default' => 'no',
29 - 'type' => 'checkbox',
30 - 'desc' => __( 'Auto complete the order for testing purpose.', 'learnpress' ),
31 - ),
32 - array(
33 - 'title' => __( 'Instruction', 'learnpress' ),
34 - 'id' => '[description]',
35 - 'default' => $lp_gateway_offline_payment->description,
36 - 'type' => 'textarea',
37 - ),
38 - array(
39 - 'type' => 'sectionend',
40 - ),
41 - )
42 -);
1 +<?php
2 +/**
3 + * Fields settings Offline Payment
4 + */
5 +
6 +/**
7 + * @var LP_Gateway_Offline_Payment $lp_gateway_offline_payment
8 + */
9 +if ( ! isset( $lp_gateway_offline_payment ) ) {
10 + return [];
11 +}
12 +
13 +return apply_filters(
14 + 'learn-press/gateway-payment/offline-payment/settings',
15 + array(
16 + array(
17 + 'type' => 'title',
18 + ),
19 + array(
20 + 'title' => __( 'Enable', 'learnpress' ),
21 + 'id' => '[enable]',
22 + 'default' => 'yes',
23 + 'type' => 'checkbox',
24 + ),
25 + array(
26 + 'title' => __( 'Testing Mode', 'learnpress' ),
27 + 'id' => '[sandbox]',
28 + 'default' => 'no',
29 + 'type' => 'checkbox',
30 + 'desc' => __( 'Auto complete the order for testing purpose.', 'learnpress' ),
31 + ),
32 + array(
33 + 'title' => __( 'Instruction', 'learnpress' ),
34 + 'id' => '[description]',
35 + 'default' => $lp_gateway_offline_payment->description,
36 + 'type' => 'textarea',
37 + ),
38 + array(
39 + 'type' => 'sectionend',
40 + ),
41 + )
42 +);