PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | stripe/helpers/FrmStrpLiteApiHelper.php +4 -2 6.5.3 → trunk View file →
@@ -13,13 +13,14 @@
13 13 * The payments submodule calls this function.
14 14 * This function exists so payments can be refunded when Authorize.Net is active.
15 15 *
16 16 * @param int $payment_id
17 + *
17 18 * @return bool
18 19 */
19 20 public static function refund_payment( $payment_id ) {
20 21 if ( ! class_exists( 'FrmStrpLiteConnectApiAdapter' ) ) {
21 - require dirname( __FILE__ ) . '/FrmStrpLiteConnectApiAdapter.php';
22 + require __DIR__ . '/FrmStrpLiteConnectApiAdapter.php';
22 23 }
23 24 return FrmStrpLiteConnectApiAdapter::refund_payment( $payment_id );
24 25 }
25 26
@@ -27,13 +28,14 @@
27 28 * The payments submodule calls this function.
28 29 * This function exists so subscriptions can be cancelled when Authorize.Net is active.
29 30 *
30 31 * @param string $sub_id
32 + *
31 33 * @return bool
32 34 */
33 35 public static function cancel_subscription( $sub_id ) {
34 36 if ( ! class_exists( 'FrmStrpLiteConnectApiAdapter' ) ) {
35 - require dirname( __FILE__ ) . '/FrmStrpLiteConnectApiAdapter.php';
37 + require __DIR__ . '/FrmStrpLiteConnectApiAdapter.php';
36 38 }
37 39 return FrmStrpLiteConnectApiAdapter::cancel_subscription( $sub_id );
38 40 }
39 41 }