@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * @param WP $WP |
19 | 19 | * @return void |
20 | 20 | */ |
21 | - public function run( WP $WP ) {} |
|
21 | + public function run(WP $WP) {} |
|
22 | 22 | |
23 | 23 | |
24 | 24 | /** |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @return string |
48 | 48 | * @throws \EE_Error |
49 | 49 | */ |
50 | - public function process_shortcode( $attributes = array() ) { |
|
50 | + public function process_shortcode($attributes = array()) { |
|
51 | 51 | \EE_Error::doing_it_wrong( |
52 | 52 | __METHOD__, |
53 | 53 | __( |
@@ -41,22 +41,22 @@ |
||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | - /** |
|
45 | - * @deprecated 4.9.27 |
|
46 | - * @param array $attributes |
|
47 | - * @return string |
|
48 | - * @throws \EE_Error |
|
49 | - */ |
|
44 | + /** |
|
45 | + * @deprecated 4.9.27 |
|
46 | + * @param array $attributes |
|
47 | + * @return string |
|
48 | + * @throws \EE_Error |
|
49 | + */ |
|
50 | 50 | public function process_shortcode( $attributes = array() ) { |
51 | - \EE_Error::doing_it_wrong( |
|
52 | - __METHOD__, |
|
53 | - __( |
|
54 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.', |
|
55 | - 'event_espresso' |
|
56 | - ), |
|
57 | - '4.9.27' |
|
58 | - ); |
|
59 | - return ''; |
|
51 | + \EE_Error::doing_it_wrong( |
|
52 | + __METHOD__, |
|
53 | + __( |
|
54 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.', |
|
55 | + 'event_espresso' |
|
56 | + ), |
|
57 | + '4.9.27' |
|
58 | + ); |
|
59 | + return ''; |
|
60 | 60 | } |
61 | 61 | |
62 | 62 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) {exit('No direct script access allowed');} |
|
1 | +<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) {exit('No direct script access allowed'); } |
|
2 | 2 | /** |
3 | 3 | * EES_Espresso_Txn_Page |
4 | 4 | * |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @throws \Exception |
58 | 58 | * @throws \EE_Error |
59 | 59 | */ |
60 | - public function run( WP $WP ) { |
|
60 | + public function run(WP $WP) { |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | * @param array $attributes |
69 | 69 | * @return string |
70 | 70 | */ |
71 | - public function process_shortcode( $attributes = array() ) { |
|
72 | - return __( 'This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso' ); |
|
71 | + public function process_shortcode($attributes = array()) { |
|
72 | + return __('This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso'); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 |
@@ -11,15 +11,15 @@ discard block |
||
11 | 11 | |
12 | 12 | |
13 | 13 | /** |
14 | - * @deprecated 4.9.27 |
|
15 | - * @return void |
|
14 | + * @deprecated 4.9.27 |
|
15 | + * @return void |
|
16 | 16 | */ |
17 | 17 | public static function set_hooks() { |
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | - * @deprecated 4.9.27 |
|
22 | - * @return void |
|
21 | + * @deprecated 4.9.27 |
|
22 | + * @return void |
|
23 | 23 | */ |
24 | 24 | public static function set_hooks_admin() { |
25 | 25 | } |
@@ -27,8 +27,8 @@ discard block |
||
27 | 27 | |
28 | 28 | |
29 | 29 | /** |
30 | - * @deprecated 4.9.27 |
|
31 | - * @return void |
|
30 | + * @deprecated 4.9.27 |
|
31 | + * @return void |
|
32 | 32 | */ |
33 | 33 | public static function set_definitions() { |
34 | 34 | } |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | |
37 | 37 | |
38 | 38 | /** |
39 | - * @deprecated 4.9.27 |
|
40 | - * @param WP $WP |
|
39 | + * @deprecated 4.9.27 |
|
40 | + * @param WP $WP |
|
41 | 41 | * @return void |
42 | 42 | * @throws \Exception |
43 | 43 | * @throws \EE_Error |
@@ -49,8 +49,8 @@ discard block |
||
49 | 49 | |
50 | 50 | |
51 | 51 | /** |
52 | - * @deprecated 4.9.27 |
|
53 | - * @param array $attributes |
|
52 | + * @deprecated 4.9.27 |
|
53 | + * @param array $attributes |
|
54 | 54 | * @return string |
55 | 55 | */ |
56 | 56 | public function process_shortcode( $attributes = array() ) { |
@@ -14,57 +14,57 @@ |
||
14 | 14 | class EES_Espresso_Cancelled extends EES_Shortcode |
15 | 15 | { |
16 | 16 | |
17 | - /** |
|
18 | - * @deprecated 4.9.27 |
|
19 | - * @return void |
|
20 | - */ |
|
21 | - public static function set_hooks() |
|
22 | - { |
|
23 | - } |
|
17 | + /** |
|
18 | + * @deprecated 4.9.27 |
|
19 | + * @return void |
|
20 | + */ |
|
21 | + public static function set_hooks() |
|
22 | + { |
|
23 | + } |
|
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | - /** |
|
28 | - * @deprecated 4.9.27 |
|
29 | - * @return void |
|
30 | - */ |
|
31 | - public static function set_hooks_admin() |
|
32 | - { |
|
33 | - } |
|
27 | + /** |
|
28 | + * @deprecated 4.9.27 |
|
29 | + * @return void |
|
30 | + */ |
|
31 | + public static function set_hooks_admin() |
|
32 | + { |
|
33 | + } |
|
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | - /** |
|
38 | - * @deprecated 4.9.27 |
|
39 | - * @param WP $WP |
|
40 | - * @return void |
|
41 | - */ |
|
42 | - public function run(WP $WP) |
|
43 | - { |
|
44 | - } |
|
37 | + /** |
|
38 | + * @deprecated 4.9.27 |
|
39 | + * @param WP $WP |
|
40 | + * @return void |
|
41 | + */ |
|
42 | + public function run(WP $WP) |
|
43 | + { |
|
44 | + } |
|
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | - /** |
|
49 | - * process_shortcode - ESPRESSO_CANCELLED |
|
50 | - * |
|
51 | - * @deprecated 4.9.27 |
|
52 | - * @param array $attributes |
|
53 | - * @return string |
|
54 | - * @throws \EE_Error |
|
55 | - */ |
|
56 | - public function process_shortcode($attributes = array()) |
|
57 | - { |
|
58 | - \EE_Error::doing_it_wrong( |
|
59 | - __METHOD__, |
|
60 | - __( |
|
61 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCancelled instead.', |
|
62 | - 'event_espresso' |
|
63 | - ), |
|
64 | - '4.9.27' |
|
65 | - ); |
|
66 | - return ''; |
|
67 | - } |
|
48 | + /** |
|
49 | + * process_shortcode - ESPRESSO_CANCELLED |
|
50 | + * |
|
51 | + * @deprecated 4.9.27 |
|
52 | + * @param array $attributes |
|
53 | + * @return string |
|
54 | + * @throws \EE_Error |
|
55 | + */ |
|
56 | + public function process_shortcode($attributes = array()) |
|
57 | + { |
|
58 | + \EE_Error::doing_it_wrong( |
|
59 | + __METHOD__, |
|
60 | + __( |
|
61 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCancelled instead.', |
|
62 | + 'event_espresso' |
|
63 | + ), |
|
64 | + '4.9.27' |
|
65 | + ); |
|
66 | + return ''; |
|
67 | + } |
|
68 | 68 | |
69 | 69 | } |
70 | 70 | // End of file EES_Espresso_Cancelled.shortcode.php |
@@ -10,8 +10,8 @@ discard block |
||
10 | 10 | class EES_Espresso_Ticket_Selector extends EES_Shortcode { |
11 | 11 | |
12 | 12 | /** |
13 | - * @deprecated 4.9.27 |
|
14 | - * @return void |
|
13 | + * @deprecated 4.9.27 |
|
14 | + * @return void |
|
15 | 15 | */ |
16 | 16 | public static function set_hooks() { |
17 | 17 | } |
@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | |
20 | 20 | |
21 | 21 | /** |
22 | - * @deprecated 4.9.27 |
|
23 | - * @return void |
|
22 | + * @deprecated 4.9.27 |
|
23 | + * @return void |
|
24 | 24 | */ |
25 | 25 | public static function set_hooks_admin() { |
26 | 26 | } |
@@ -28,29 +28,29 @@ discard block |
||
28 | 28 | |
29 | 29 | |
30 | 30 | /** |
31 | - * @deprecated 4.9.27 |
|
32 | - * @param \WP $WP |
|
31 | + * @deprecated 4.9.27 |
|
32 | + * @param \WP $WP |
|
33 | 33 | */ |
34 | 34 | public function run( WP $WP ) { |
35 | 35 | } |
36 | 36 | |
37 | 37 | |
38 | 38 | /** |
39 | - * @deprecated 4.9.27 |
|
40 | - * @param array $attributes |
|
39 | + * @deprecated 4.9.27 |
|
40 | + * @param array $attributes |
|
41 | 41 | * @return string |
42 | 42 | */ |
43 | 43 | public function process_shortcode( $attributes = array() ) { |
44 | - \EE_Error::doing_it_wrong( |
|
45 | - __METHOD__, |
|
46 | - __( |
|
47 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.', |
|
48 | - 'event_espresso' |
|
49 | - ), |
|
50 | - '4.9.27' |
|
51 | - ); |
|
52 | - return ''; |
|
53 | - } |
|
44 | + \EE_Error::doing_it_wrong( |
|
45 | + __METHOD__, |
|
46 | + __( |
|
47 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.', |
|
48 | + 'event_espresso' |
|
49 | + ), |
|
50 | + '4.9.27' |
|
51 | + ); |
|
52 | + return ''; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
56 | 56 | // End of file EES_Espresso_Ticket_Selector.shortcode.php |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * @deprecated 4.9.27 |
32 | 32 | * @param \WP $WP |
33 | 33 | */ |
34 | - public function run( WP $WP ) { |
|
34 | + public function run(WP $WP) { |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param array $attributes |
41 | 41 | * @return string |
42 | 42 | */ |
43 | - public function process_shortcode( $attributes = array() ) { |
|
43 | + public function process_shortcode($attributes = array()) { |
|
44 | 44 | \EE_Error::doing_it_wrong( |
45 | 45 | __METHOD__, |
46 | 46 | __( |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) exit('No direct script access allowed'); |
|
1 | +<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
2 | + exit('No direct script access allowed'); |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * EES_Espresso_Ticket_Selector |
4 | 6 | * |
@@ -6,7 +6,6 @@ discard block |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage /shortcodes/ |
8 | 8 | * @author Brent Christensen |
9 | - |
|
10 | 9 | * ------------------------------------------------------------------------ |
11 | 10 | */ |
12 | 11 | class EES_Espresso_Checkout extends EES_Shortcode { |
@@ -31,15 +30,15 @@ discard block |
||
31 | 30 | |
32 | 31 | |
33 | 32 | |
34 | - /** |
|
35 | - * run - initial shortcode module setup called during "wp_loaded" hook |
|
36 | - * this method is primarily used for loading resources that will be required by the shortcode when it is actually processed |
|
37 | - * |
|
38 | - * @access public |
|
39 | - * @param WP $WP |
|
40 | - * @return void |
|
41 | - * @throws \EE_Error |
|
42 | - */ |
|
33 | + /** |
|
34 | + * run - initial shortcode module setup called during "wp_loaded" hook |
|
35 | + * this method is primarily used for loading resources that will be required by the shortcode when it is actually processed |
|
36 | + * |
|
37 | + * @access public |
|
38 | + * @param WP $WP |
|
39 | + * @return void |
|
40 | + * @throws \EE_Error |
|
41 | + */ |
|
43 | 42 | public function run( WP $WP ) { |
44 | 43 | } |
45 | 44 | |
@@ -53,16 +52,16 @@ discard block |
||
53 | 52 | * @return string |
54 | 53 | */ |
55 | 54 | public function process_shortcode( $attributes = array() ) { |
56 | - \EE_Error::doing_it_wrong( |
|
57 | - __METHOD__, |
|
58 | - __( |
|
59 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.', |
|
60 | - 'event_espresso' |
|
61 | - ), |
|
62 | - '4.9.27' |
|
63 | - ); |
|
64 | - return ''; |
|
65 | - } |
|
55 | + \EE_Error::doing_it_wrong( |
|
56 | + __METHOD__, |
|
57 | + __( |
|
58 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.', |
|
59 | + 'event_espresso' |
|
60 | + ), |
|
61 | + '4.9.27' |
|
62 | + ); |
|
63 | + return ''; |
|
64 | + } |
|
66 | 65 | |
67 | 66 | } |
68 | 67 | // End of file EES_Espresso_Checkout.shortcode.php |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @return void |
41 | 41 | * @throws \EE_Error |
42 | 42 | */ |
43 | - public function run( WP $WP ) { |
|
43 | + public function run(WP $WP) { |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @param array $attributes |
53 | 53 | * @return string |
54 | 54 | */ |
55 | - public function process_shortcode( $attributes = array() ) { |
|
55 | + public function process_shortcode($attributes = array()) { |
|
56 | 56 | \EE_Error::doing_it_wrong( |
57 | 57 | __METHOD__, |
58 | 58 | __( |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) exit('No direct script access allowed'); |
|
1 | +<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
2 | + exit('No direct script access allowed'); |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * EES_Espresso_Checkout |
4 | 6 | * |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | |
25 | 25 | |
26 | 26 | /** |
27 | - * @deprecated 4.9.27 |
|
28 | - * @return void |
|
27 | + * @deprecated 4.9.27 |
|
28 | + * @return void |
|
29 | 29 | */ |
30 | 30 | public static function set_hooks() { |
31 | 31 | } |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | |
34 | 34 | |
35 | 35 | /** |
36 | - * @deprecated 4.9.27 |
|
37 | - * @return void |
|
36 | + * @deprecated 4.9.27 |
|
37 | + * @return void |
|
38 | 38 | */ |
39 | 39 | public static function set_hooks_admin() { |
40 | 40 | } |
@@ -42,353 +42,353 @@ discard block |
||
42 | 42 | |
43 | 43 | |
44 | 44 | /** |
45 | - * @deprecated 4.9.27 |
|
46 | - * @return void |
|
45 | + * @deprecated 4.9.27 |
|
46 | + * @return void |
|
47 | 47 | */ |
48 | 48 | public static function set_definitions() { |
49 | - \EE_Error::doing_it_wrong( |
|
50 | - __METHOD__, |
|
51 | - __( |
|
52 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
53 | - 'event_espresso' |
|
54 | - ), |
|
55 | - '4.9.27' |
|
56 | - ); |
|
57 | - } |
|
49 | + \EE_Error::doing_it_wrong( |
|
50 | + __METHOD__, |
|
51 | + __( |
|
52 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
53 | + 'event_espresso' |
|
54 | + ), |
|
55 | + '4.9.27' |
|
56 | + ); |
|
57 | + } |
|
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | 61 | /** |
62 | - * @deprecated 4.9.27 |
|
63 | - * @return EE_Transaction |
|
62 | + * @deprecated 4.9.27 |
|
63 | + * @return EE_Transaction |
|
64 | 64 | */ |
65 | 65 | public function get_txn() { |
66 | - \EE_Error::doing_it_wrong( |
|
67 | - __METHOD__, |
|
68 | - __( |
|
69 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
70 | - 'event_espresso' |
|
71 | - ), |
|
72 | - '4.9.27' |
|
73 | - ); |
|
74 | - } |
|
66 | + \EE_Error::doing_it_wrong( |
|
67 | + __METHOD__, |
|
68 | + __( |
|
69 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
70 | + 'event_espresso' |
|
71 | + ), |
|
72 | + '4.9.27' |
|
73 | + ); |
|
74 | + } |
|
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | 78 | /** |
79 | - * @deprecated 4.9.27 |
|
80 | - * @param int $since |
|
79 | + * @deprecated 4.9.27 |
|
80 | + * @param int $since |
|
81 | 81 | * @return mixed array of EE_Payment || FALSE |
82 | 82 | */ |
83 | 83 | public function get_txn_payments( $since = 0 ) { |
84 | - \EE_Error::doing_it_wrong( |
|
85 | - __METHOD__, |
|
86 | - __( |
|
87 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
88 | - 'event_espresso' |
|
89 | - ), |
|
90 | - '4.9.27' |
|
91 | - ); |
|
92 | - } |
|
84 | + \EE_Error::doing_it_wrong( |
|
85 | + __METHOD__, |
|
86 | + __( |
|
87 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
88 | + 'event_espresso' |
|
89 | + ), |
|
90 | + '4.9.27' |
|
91 | + ); |
|
92 | + } |
|
93 | 93 | |
94 | 94 | |
95 | 95 | |
96 | 96 | /** |
97 | - * @deprecated 4.9.27 |
|
98 | - * @param string $reg_url_link |
|
97 | + * @deprecated 4.9.27 |
|
98 | + * @param string $reg_url_link |
|
99 | 99 | * @return void |
100 | 100 | */ |
101 | 101 | public function set_reg_url_link( $reg_url_link = null ) { |
102 | - \EE_Error::doing_it_wrong( |
|
103 | - __METHOD__, |
|
104 | - __( |
|
105 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
106 | - 'event_espresso' |
|
107 | - ), |
|
108 | - '4.9.27' |
|
109 | - ); |
|
110 | - } |
|
102 | + \EE_Error::doing_it_wrong( |
|
103 | + __METHOD__, |
|
104 | + __( |
|
105 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
106 | + 'event_espresso' |
|
107 | + ), |
|
108 | + '4.9.27' |
|
109 | + ); |
|
110 | + } |
|
111 | 111 | |
112 | 112 | |
113 | 113 | |
114 | 114 | /** |
115 | - * @deprecated 4.9.27 |
|
116 | - * @param WP $WP |
|
115 | + * @deprecated 4.9.27 |
|
116 | + * @param WP $WP |
|
117 | 117 | * @return void |
118 | 118 | */ |
119 | 119 | public function run( WP $WP ) { |
120 | - } |
|
120 | + } |
|
121 | 121 | |
122 | 122 | |
123 | 123 | |
124 | 124 | /** |
125 | - * @deprecated 4.9.27 |
|
126 | - * @return void |
|
125 | + * @deprecated 4.9.27 |
|
126 | + * @return void |
|
127 | 127 | */ |
128 | 128 | protected function _translate_strings() { |
129 | - \EE_Error::doing_it_wrong( |
|
130 | - __METHOD__, |
|
131 | - __( |
|
132 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
133 | - 'event_espresso' |
|
134 | - ), |
|
135 | - '4.9.27' |
|
136 | - ); |
|
137 | - } |
|
129 | + \EE_Error::doing_it_wrong( |
|
130 | + __METHOD__, |
|
131 | + __( |
|
132 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
133 | + 'event_espresso' |
|
134 | + ), |
|
135 | + '4.9.27' |
|
136 | + ); |
|
137 | + } |
|
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | 141 | /** |
142 | - * @deprecated 4.9.27 |
|
143 | - * @return void |
|
142 | + * @deprecated 4.9.27 |
|
143 | + * @return void |
|
144 | 144 | */ |
145 | 145 | public function load_js() { |
146 | - \EE_Error::doing_it_wrong( |
|
147 | - __METHOD__, |
|
148 | - __( |
|
149 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
150 | - 'event_espresso' |
|
151 | - ), |
|
152 | - '4.9.27' |
|
153 | - ); |
|
154 | - } |
|
146 | + \EE_Error::doing_it_wrong( |
|
147 | + __METHOD__, |
|
148 | + __( |
|
149 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
150 | + 'event_espresso' |
|
151 | + ), |
|
152 | + '4.9.27' |
|
153 | + ); |
|
154 | + } |
|
155 | 155 | |
156 | 156 | |
157 | 157 | |
158 | 158 | /** |
159 | - * @deprecated 4.9.27 |
|
160 | - * @return void |
|
159 | + * @deprecated 4.9.27 |
|
160 | + * @return void |
|
161 | 161 | * @throws \EE_Error |
162 | 162 | */ |
163 | 163 | public function init() { |
164 | - \EE_Error::doing_it_wrong( |
|
165 | - __METHOD__, |
|
166 | - __( |
|
167 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
168 | - 'event_espresso' |
|
169 | - ), |
|
170 | - '4.9.27' |
|
171 | - ); |
|
172 | - } |
|
164 | + \EE_Error::doing_it_wrong( |
|
165 | + __METHOD__, |
|
166 | + __( |
|
167 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
168 | + 'event_espresso' |
|
169 | + ), |
|
170 | + '4.9.27' |
|
171 | + ); |
|
172 | + } |
|
173 | 173 | |
174 | 174 | |
175 | 175 | |
176 | 176 | /** |
177 | - * @deprecated 4.9.27 |
|
178 | - * @param array $attributes |
|
177 | + * @deprecated 4.9.27 |
|
178 | + * @param array $attributes |
|
179 | 179 | * @return string |
180 | 180 | * @throws \EE_Error |
181 | 181 | */ |
182 | 182 | public function process_shortcode( $attributes = array() ) { |
183 | - \EE_Error::doing_it_wrong( |
|
184 | - __METHOD__, |
|
185 | - __( |
|
186 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
187 | - 'event_espresso' |
|
188 | - ), |
|
189 | - '4.9.27' |
|
190 | - ); |
|
191 | - return ''; |
|
192 | - } |
|
183 | + \EE_Error::doing_it_wrong( |
|
184 | + __METHOD__, |
|
185 | + __( |
|
186 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
187 | + 'event_espresso' |
|
188 | + ), |
|
189 | + '4.9.27' |
|
190 | + ); |
|
191 | + return ''; |
|
192 | + } |
|
193 | 193 | |
194 | 194 | |
195 | 195 | |
196 | 196 | /** |
197 | - * @deprecated 4.9.27 |
|
198 | - * @param array $response |
|
197 | + * @deprecated 4.9.27 |
|
198 | + * @param array $response |
|
199 | 199 | * @param array $data |
200 | 200 | * @return array |
201 | 201 | * @throws \EE_Error |
202 | 202 | */ |
203 | 203 | public static function thank_you_page_IPN_monitor( $response = array(), $data = array() ) { |
204 | - \EE_Error::doing_it_wrong( |
|
205 | - __METHOD__, |
|
206 | - __( |
|
207 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
208 | - 'event_espresso' |
|
209 | - ), |
|
210 | - '4.9.27' |
|
211 | - ); |
|
212 | - } |
|
204 | + \EE_Error::doing_it_wrong( |
|
205 | + __METHOD__, |
|
206 | + __( |
|
207 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
208 | + 'event_espresso' |
|
209 | + ), |
|
210 | + '4.9.27' |
|
211 | + ); |
|
212 | + } |
|
213 | 213 | |
214 | 214 | |
215 | 215 | |
216 | 216 | |
217 | 217 | /** |
218 | - * @deprecated 4.9.27 |
|
219 | - * @return string |
|
218 | + * @deprecated 4.9.27 |
|
219 | + * @return string |
|
220 | 220 | * @throws \EE_Error |
221 | 221 | */ |
222 | 222 | public function get_registration_details() { |
223 | - \EE_Error::doing_it_wrong( |
|
224 | - __METHOD__, |
|
225 | - __( |
|
226 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
227 | - 'event_espresso' |
|
228 | - ), |
|
229 | - '4.9.27' |
|
230 | - ); |
|
231 | - } |
|
223 | + \EE_Error::doing_it_wrong( |
|
224 | + __METHOD__, |
|
225 | + __( |
|
226 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
227 | + 'event_espresso' |
|
228 | + ), |
|
229 | + '4.9.27' |
|
230 | + ); |
|
231 | + } |
|
232 | 232 | |
233 | 233 | |
234 | 234 | |
235 | 235 | /** |
236 | 236 | * resend_reg_confirmation_email |
237 | - * |
|
238 | - * @deprecated 4.9.27 |
|
239 | - */ |
|
237 | + * |
|
238 | + * @deprecated 4.9.27 |
|
239 | + */ |
|
240 | 240 | public static function resend_reg_confirmation_email() { |
241 | - \EE_Error::doing_it_wrong( |
|
242 | - __METHOD__, |
|
243 | - __( |
|
244 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
245 | - 'event_espresso' |
|
246 | - ), |
|
247 | - '4.9.27' |
|
248 | - ); |
|
249 | - } |
|
241 | + \EE_Error::doing_it_wrong( |
|
242 | + __METHOD__, |
|
243 | + __( |
|
244 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
245 | + 'event_espresso' |
|
246 | + ), |
|
247 | + '4.9.27' |
|
248 | + ); |
|
249 | + } |
|
250 | 250 | |
251 | 251 | |
252 | 252 | |
253 | 253 | /** |
254 | 254 | * get_ajax_content |
255 | - * |
|
256 | - * @deprecated 4.9.27 |
|
257 | - * @return void |
|
255 | + * |
|
256 | + * @deprecated 4.9.27 |
|
257 | + * @return void |
|
258 | 258 | */ |
259 | 259 | public function get_ajax_content() { |
260 | - \EE_Error::doing_it_wrong( |
|
261 | - __METHOD__, |
|
262 | - __( |
|
263 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
264 | - 'event_espresso' |
|
265 | - ), |
|
266 | - '4.9.27' |
|
267 | - ); |
|
268 | - } |
|
260 | + \EE_Error::doing_it_wrong( |
|
261 | + __METHOD__, |
|
262 | + __( |
|
263 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
264 | + 'event_espresso' |
|
265 | + ), |
|
266 | + '4.9.27' |
|
267 | + ); |
|
268 | + } |
|
269 | 269 | |
270 | 270 | |
271 | 271 | |
272 | 272 | /** |
273 | 273 | * display_details_for_events |
274 | - * |
|
275 | - * @deprecated 4.9.27 |
|
276 | - * @param EE_Event[] $events |
|
274 | + * |
|
275 | + * @deprecated 4.9.27 |
|
276 | + * @param EE_Event[] $events |
|
277 | 277 | * @return void |
278 | 278 | */ |
279 | 279 | public function display_details_for_events( $events = array() ) { |
280 | - \EE_Error::doing_it_wrong( |
|
281 | - __METHOD__, |
|
282 | - __( |
|
283 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
284 | - 'event_espresso' |
|
285 | - ), |
|
286 | - '4.9.27' |
|
287 | - ); |
|
288 | - } |
|
280 | + \EE_Error::doing_it_wrong( |
|
281 | + __METHOD__, |
|
282 | + __( |
|
283 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
284 | + 'event_espresso' |
|
285 | + ), |
|
286 | + '4.9.27' |
|
287 | + ); |
|
288 | + } |
|
289 | 289 | |
290 | 290 | |
291 | 291 | |
292 | 292 | /** |
293 | 293 | * display_details_for_events_requiring_pre_approval |
294 | - * |
|
295 | - * @deprecated 4.9.27 |
|
296 | - * @param EE_Event[] $events |
|
294 | + * |
|
295 | + * @deprecated 4.9.27 |
|
296 | + * @param EE_Event[] $events |
|
297 | 297 | * @return void |
298 | 298 | */ |
299 | 299 | public function display_details_for_events_requiring_pre_approval( $events = array() ) { |
300 | - \EE_Error::doing_it_wrong( |
|
301 | - __METHOD__, |
|
302 | - __( |
|
303 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
304 | - 'event_espresso' |
|
305 | - ), |
|
306 | - '4.9.27' |
|
307 | - ); |
|
308 | - } |
|
300 | + \EE_Error::doing_it_wrong( |
|
301 | + __METHOD__, |
|
302 | + __( |
|
303 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
304 | + 'event_espresso' |
|
305 | + ), |
|
306 | + '4.9.27' |
|
307 | + ); |
|
308 | + } |
|
309 | 309 | |
310 | 310 | |
311 | 311 | |
312 | 312 | /** |
313 | 313 | * get_transaction_details |
314 | - * |
|
315 | - * @deprecated 4.9.27 |
|
316 | - * @return string |
|
314 | + * |
|
315 | + * @deprecated 4.9.27 |
|
316 | + * @return string |
|
317 | 317 | * @throws \EE_Error |
318 | 318 | */ |
319 | 319 | public function get_transaction_details() { |
320 | - \EE_Error::doing_it_wrong( |
|
321 | - __METHOD__, |
|
322 | - __( |
|
323 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
324 | - 'event_espresso' |
|
325 | - ), |
|
326 | - '4.9.27' |
|
327 | - ); |
|
328 | - } |
|
320 | + \EE_Error::doing_it_wrong( |
|
321 | + __METHOD__, |
|
322 | + __( |
|
323 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
324 | + 'event_espresso' |
|
325 | + ), |
|
326 | + '4.9.27' |
|
327 | + ); |
|
328 | + } |
|
329 | 329 | |
330 | 330 | |
331 | 331 | |
332 | 332 | /** |
333 | 333 | * get_payment_row_html |
334 | - * |
|
335 | - * @deprecated 4.9.27 |
|
336 | - * @param EE_Payment $payment |
|
334 | + * |
|
335 | + * @deprecated 4.9.27 |
|
336 | + * @param EE_Payment $payment |
|
337 | 337 | * @return string |
338 | 338 | * @throws \EE_Error |
339 | 339 | */ |
340 | 340 | public function get_payment_row_html( $payment = null ) { |
341 | - \EE_Error::doing_it_wrong( |
|
342 | - __METHOD__, |
|
343 | - __( |
|
344 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
345 | - 'event_espresso' |
|
346 | - ), |
|
347 | - '4.9.27' |
|
348 | - ); |
|
349 | - } |
|
341 | + \EE_Error::doing_it_wrong( |
|
342 | + __METHOD__, |
|
343 | + __( |
|
344 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
345 | + 'event_espresso' |
|
346 | + ), |
|
347 | + '4.9.27' |
|
348 | + ); |
|
349 | + } |
|
350 | 350 | |
351 | 351 | |
352 | 352 | |
353 | 353 | /** |
354 | 354 | * get_payment_details |
355 | - * |
|
356 | - * @deprecated 4.9.27 |
|
357 | - * @param array $payments |
|
355 | + * |
|
356 | + * @deprecated 4.9.27 |
|
357 | + * @param array $payments |
|
358 | 358 | * @return string |
359 | 359 | * @throws \EE_Error |
360 | 360 | */ |
361 | 361 | public function get_payment_details( $payments = array() ) { |
362 | - \EE_Error::doing_it_wrong( |
|
363 | - __METHOD__, |
|
364 | - __( |
|
365 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
366 | - 'event_espresso' |
|
367 | - ), |
|
368 | - '4.9.27' |
|
369 | - ); |
|
370 | - } |
|
362 | + \EE_Error::doing_it_wrong( |
|
363 | + __METHOD__, |
|
364 | + __( |
|
365 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
366 | + 'event_espresso' |
|
367 | + ), |
|
368 | + '4.9.27' |
|
369 | + ); |
|
370 | + } |
|
371 | 371 | |
372 | 372 | |
373 | 373 | |
374 | 374 | /** |
375 | 375 | * get_payment_details |
376 | - * |
|
377 | - * @deprecated 4.9.27 |
|
378 | - * @param array $payments |
|
376 | + * |
|
377 | + * @deprecated 4.9.27 |
|
378 | + * @param array $payments |
|
379 | 379 | * @return string |
380 | 380 | * @throws \EE_Error |
381 | 381 | */ |
382 | 382 | public function get_new_payments( $payments = array() ) { |
383 | - \EE_Error::doing_it_wrong( |
|
384 | - __METHOD__, |
|
385 | - __( |
|
386 | - 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
387 | - 'event_espresso' |
|
388 | - ), |
|
389 | - '4.9.27' |
|
390 | - ); |
|
391 | - } |
|
383 | + \EE_Error::doing_it_wrong( |
|
384 | + __METHOD__, |
|
385 | + __( |
|
386 | + 'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.', |
|
387 | + 'event_espresso' |
|
388 | + ), |
|
389 | + '4.9.27' |
|
390 | + ); |
|
391 | + } |
|
392 | 392 | |
393 | 393 | |
394 | 394 |
@@ -1,5 +1,5 @@ discard block |
||
1 | -<?php if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
|
2 | - exit( 'No direct script access allowed' ); |
|
1 | +<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
2 | + exit('No direct script access allowed'); |
|
3 | 3 | } |
4 | 4 | |
5 | 5 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * @param int $since |
81 | 81 | * @return mixed array of EE_Payment || FALSE |
82 | 82 | */ |
83 | - public function get_txn_payments( $since = 0 ) { |
|
83 | + public function get_txn_payments($since = 0) { |
|
84 | 84 | \EE_Error::doing_it_wrong( |
85 | 85 | __METHOD__, |
86 | 86 | __( |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param string $reg_url_link |
99 | 99 | * @return void |
100 | 100 | */ |
101 | - public function set_reg_url_link( $reg_url_link = null ) { |
|
101 | + public function set_reg_url_link($reg_url_link = null) { |
|
102 | 102 | \EE_Error::doing_it_wrong( |
103 | 103 | __METHOD__, |
104 | 104 | __( |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * @param WP $WP |
117 | 117 | * @return void |
118 | 118 | */ |
119 | - public function run( WP $WP ) { |
|
119 | + public function run(WP $WP) { |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | * @return string |
180 | 180 | * @throws \EE_Error |
181 | 181 | */ |
182 | - public function process_shortcode( $attributes = array() ) { |
|
182 | + public function process_shortcode($attributes = array()) { |
|
183 | 183 | \EE_Error::doing_it_wrong( |
184 | 184 | __METHOD__, |
185 | 185 | __( |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | * @return array |
201 | 201 | * @throws \EE_Error |
202 | 202 | */ |
203 | - public static function thank_you_page_IPN_monitor( $response = array(), $data = array() ) { |
|
203 | + public static function thank_you_page_IPN_monitor($response = array(), $data = array()) { |
|
204 | 204 | \EE_Error::doing_it_wrong( |
205 | 205 | __METHOD__, |
206 | 206 | __( |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | * @param EE_Event[] $events |
277 | 277 | * @return void |
278 | 278 | */ |
279 | - public function display_details_for_events( $events = array() ) { |
|
279 | + public function display_details_for_events($events = array()) { |
|
280 | 280 | \EE_Error::doing_it_wrong( |
281 | 281 | __METHOD__, |
282 | 282 | __( |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | * @param EE_Event[] $events |
297 | 297 | * @return void |
298 | 298 | */ |
299 | - public function display_details_for_events_requiring_pre_approval( $events = array() ) { |
|
299 | + public function display_details_for_events_requiring_pre_approval($events = array()) { |
|
300 | 300 | \EE_Error::doing_it_wrong( |
301 | 301 | __METHOD__, |
302 | 302 | __( |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | * @return string |
338 | 338 | * @throws \EE_Error |
339 | 339 | */ |
340 | - public function get_payment_row_html( $payment = null ) { |
|
340 | + public function get_payment_row_html($payment = null) { |
|
341 | 341 | \EE_Error::doing_it_wrong( |
342 | 342 | __METHOD__, |
343 | 343 | __( |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | * @return string |
359 | 359 | * @throws \EE_Error |
360 | 360 | */ |
361 | - public function get_payment_details( $payments = array() ) { |
|
361 | + public function get_payment_details($payments = array()) { |
|
362 | 362 | \EE_Error::doing_it_wrong( |
363 | 363 | __METHOD__, |
364 | 364 | __( |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | * @return string |
380 | 380 | * @throws \EE_Error |
381 | 381 | */ |
382 | - public function get_new_payments( $payments = array() ) { |
|
382 | + public function get_new_payments($payments = array()) { |
|
383 | 383 | \EE_Error::doing_it_wrong( |
384 | 384 | __METHOD__, |
385 | 385 | __( |
@@ -1,30 +1,30 @@ discard block |
||
1 | 1 | <h2 class="section-heading display-box-heading"> |
2 | 2 | <?php _e('Payment Overview', 'event_espresso'); ?> |
3 | 3 | </h2> |
4 | -<?php do_action( 'AHEE__thank_you_page_payment_details_template__after_heading' ); ?> |
|
4 | +<?php do_action('AHEE__thank_you_page_payment_details_template__after_heading'); ?> |
|
5 | 5 | |
6 | 6 | <div id="espresso-thank-you-page-payment-details-dv"> |
7 | -<?php if ( ! empty( $payments )){ ?> |
|
7 | +<?php if ( ! empty($payments)) { ?> |
|
8 | 8 | <table class="ee-table"> |
9 | 9 | <thead> |
10 | 10 | <tr> |
11 | 11 | <th width="35%" class="jst-left"> |
12 | - <?php _e('Payment Date','event_espresso')?> |
|
12 | + <?php _e('Payment Date', 'event_espresso')?> |
|
13 | 13 | </th> |
14 | 14 | <th width="17.5%" class="jst-left"> |
15 | - <?php _e('Type','event_espresso');?> |
|
15 | + <?php _e('Type', 'event_espresso'); ?> |
|
16 | 16 | </th> |
17 | 17 | <th width="17.5%" class="jst-rght"> |
18 | - <?php _e('Amount','event_espresso');?> |
|
18 | + <?php _e('Amount', 'event_espresso'); ?> |
|
19 | 19 | </th> |
20 | 20 | <th width="30%" class="jst-rght"> |
21 | - <?php _e('Status','event_espresso');?> |
|
21 | + <?php _e('Status', 'event_espresso'); ?> |
|
22 | 22 | </th> |
23 | 23 | </tr> |
24 | 24 | </thead> |
25 | 25 | <tbody> |
26 | 26 | <?php |
27 | - foreach ( $payments as $payment ) { |
|
27 | + foreach ($payments as $payment) { |
|
28 | 28 | echo $payment; |
29 | 29 | } |
30 | 30 | ?> |
@@ -33,38 +33,38 @@ discard block |
||
33 | 33 | <?php |
34 | 34 | } else { |
35 | 35 | |
36 | - if ( $transaction->total() ){ |
|
36 | + if ($transaction->total()) { |
|
37 | 37 | |
38 | 38 | echo apply_filters( |
39 | 39 | 'FHEE__payment_overview_template__no_payments_made', |
40 | - sprintf ( |
|
41 | - __('%sNo payments towards this transaction have been received.%s', 'event_espresso' ), |
|
40 | + sprintf( |
|
41 | + __('%sNo payments towards this transaction have been received.%s', 'event_espresso'), |
|
42 | 42 | '<p class="important-notice">', |
43 | 43 | '</p>' |
44 | 44 | ) |
45 | 45 | ); |
46 | - do_action( 'AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction ); |
|
46 | + do_action('AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction); |
|
47 | 47 | |
48 | 48 | } else { |
49 | 49 | |
50 | 50 | echo apply_filters( |
51 | 51 | 'FHEE__payment_overview_template__no_payment_required', |
52 | - sprintf ( |
|
53 | - __('%sNo payment is required for this transaction.%s', 'event_espresso' ), |
|
52 | + sprintf( |
|
53 | + __('%sNo payment is required for this transaction.%s', 'event_espresso'), |
|
54 | 54 | '<p>', |
55 | 55 | '</p>' |
56 | 56 | ) |
57 | 57 | ); |
58 | - do_action( 'AHEE__thank_you_page_payment_details_template__no_payment_required' ); |
|
58 | + do_action('AHEE__thank_you_page_payment_details_template__no_payment_required'); |
|
59 | 59 | |
60 | 60 | } |
61 | 61 | |
62 | 62 | } |
63 | 63 | echo $gateway_content; |
64 | - do_action( 'AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content ); |
|
64 | + do_action('AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content); |
|
65 | 65 | |
66 | 66 | ?> |
67 | 67 | |
68 | 68 | <br/> |
69 | - <?php do_action( 'AHEE__thank_you_page_payment_details_template__after_payment_details' ); ?> |
|
69 | + <?php do_action('AHEE__thank_you_page_payment_details_template__after_payment_details'); ?> |
|
70 | 70 |
@@ -3,13 +3,13 @@ discard block |
||
3 | 3 | /** @var boolean $revisit */ |
4 | 4 | /** @var string $order_conf_desc */ |
5 | 5 | |
6 | -do_action( 'AHEE__thank_you_page_overview_template__top', $transaction ); |
|
6 | +do_action('AHEE__thank_you_page_overview_template__top', $transaction); |
|
7 | 7 | |
8 | 8 | ?> |
9 | 9 | |
10 | 10 | <div id="espresso-thank-you-page-overview-dv" class="width-100" > |
11 | 11 | |
12 | - <?php if ( ! $revisit ) : ?> |
|
12 | + <?php if ( ! $revisit) : ?> |
|
13 | 13 | <div class="ee-attention"> |
14 | 14 | <div class="extra-padding-sides"> |
15 | 15 | <?php echo apply_filters( |
@@ -21,10 +21,10 @@ discard block |
||
21 | 21 | '<br />' |
22 | 22 | ) |
23 | 23 | ); |
24 | - if ( ! empty( $TXN_receipt_url )) : ?> |
|
24 | + if ( ! empty($TXN_receipt_url)) : ?> |
|
25 | 25 | <br/> |
26 | 26 | <div class="jst-rght"> |
27 | - <a class="ee-button ee-roundish indented-text big-text" href="<?php echo $TXN_receipt_url;?>"><span class="ee-icon ee-icon-PDF-file-type"></span><?php echo apply_filters( 'FHEE__thank_you_page_overview_template__order_conf_button_text', __( 'View Full Order Confirmation Receipt', 'event_espresso' )); ?></a> |
|
27 | + <a class="ee-button ee-roundish indented-text big-text" href="<?php echo $TXN_receipt_url; ?>"><span class="ee-icon ee-icon-PDF-file-type"></span><?php echo apply_filters('FHEE__thank_you_page_overview_template__order_conf_button_text', __('View Full Order Confirmation Receipt', 'event_espresso')); ?></a> |
|
28 | 28 | </div> |
29 | 29 | <?php endif; ?> |
30 | 30 | </div> |
@@ -33,9 +33,9 @@ discard block |
||
33 | 33 | <?php endif; ?> |
34 | 34 | <br/> |
35 | 35 | |
36 | - <?php do_action( 'AHEE__thank_you_page_overview_template__content', $transaction ); ?> |
|
36 | + <?php do_action('AHEE__thank_you_page_overview_template__content', $transaction); ?> |
|
37 | 37 | |
38 | 38 | </div> |
39 | 39 | <!-- end of espresso-thank-you-page-overview-dv --> |
40 | 40 | |
41 | -<?php do_action( 'AHEE__thank_you_page_overview_template__bottom', $transaction ); ?> |
|
41 | +<?php do_action('AHEE__thank_you_page_overview_template__bottom', $transaction); ?> |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <h3><?php _e('Transaction Details', 'event_espresso'); ?></h3> |
2 | -<?php do_action( 'AHEE__thank_you_page_transaction_details_template__after_heading' ); ?> |
|
2 | +<?php do_action('AHEE__thank_you_page_transaction_details_template__after_heading'); ?> |
|
3 | 3 | |
4 | 4 | <div id="espresso-thank-you-page-transaction-details-dv"> |
5 | 5 | <table class='ee-table'> |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | <label><?php _e('Total Cost: ', 'event_espresso'); ?></label> |
10 | 10 | </td> |
11 | 11 | <td> |
12 | - <?php echo EEH_Template::format_currency( $transaction->total() ); ?> |
|
12 | + <?php echo EEH_Template::format_currency($transaction->total()); ?> |
|
13 | 13 | </td> |
14 | 14 | </tr> |
15 | 15 | <tr> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | <label><?php _e('Amount Owing: ', 'event_espresso'); ?></label> |
18 | 18 | </td> |
19 | 19 | <td class="<?php echo ($transaction->paid() == $transaction->total()) ? 'ee-transaction-paid' : 'ee-transaction-unpaid' ?>"> |
20 | - <?php echo EEH_Template::format_currency( $transaction->remaining() ); ?> |
|
20 | + <?php echo EEH_Template::format_currency($transaction->remaining()); ?> |
|
21 | 21 | </td> |
22 | 22 | </tr> |
23 | 23 | <tr> |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | <label><?php _e('Transaction Status: ', 'event_espresso'); ?></label> |
26 | 26 | </td> |
27 | 27 | <td> |
28 | - <?php $transaction->e_pretty_status( TRUE ); |
|
29 | - if ( $show_try_pay_again_link && ! $transaction->is_completed() ) { ?> |
|
28 | + <?php $transaction->e_pretty_status(TRUE); |
|
29 | + if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?> |
|
30 | 30 | <span class="small-text"><a href='<?php echo $SPCO_payment_options_url?>'><?php _e('View Payment Options', 'event_espresso'); ?></a></span> |
31 | 31 | <?php } ?> |
32 | 32 | </td> |
@@ -39,11 +39,11 @@ discard block |
||
39 | 39 | <?php echo $primary_registrant_name; ?> |
40 | 40 | </td> |
41 | 41 | </tr> |
42 | - <?php do_action( 'AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', $transaction ); ?> |
|
42 | + <?php do_action('AHEE__thank_you_page_transaction_details_template__after_transaction_table_row', $transaction); ?> |
|
43 | 43 | </tbody> |
44 | 44 | </table> |
45 | 45 | |
46 | -<?php if ( $show_try_pay_again_link && ! $transaction->is_completed() ) { ?> |
|
46 | +<?php if ($show_try_pay_again_link && ! $transaction->is_completed()) { ?> |
|
47 | 47 | <p class="small-text jst-rght"> |
48 | 48 | <a href='<?php echo $SPCO_payment_options_url?>'><?php _e("Click here to view Payment Options", 'event_espresso'); ?></a> |
49 | 49 | </p> |
@@ -52,6 +52,6 @@ discard block |
||
52 | 52 | |
53 | 53 | <?php }?> |
54 | 54 | |
55 | - <?php do_action( 'AHEE__thank_you_page_transaction_details_template__after_transaction_details' ); ?> |
|
55 | + <?php do_action('AHEE__thank_you_page_transaction_details_template__after_transaction_details'); ?> |
|
56 | 56 | |
57 | 57 | </div> |