From 47591900d29e3e15a54570e3dbef6472d52f5c53 Mon Sep 17 00:00:00 2001 From: Andrew Lima Date: Mon, 30 Sep 2024 11:32:18 +0200 Subject: [PATCH] Remove filter since it's never been used. --- services/payfast_itn_handler.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/payfast_itn_handler.php b/services/payfast_itn_handler.php index b2b20c5..fe7e8f6 100644 --- a/services/payfast_itn_handler.php +++ b/services/payfast_itn_handler.php @@ -329,12 +329,6 @@ function pmpro_payfast_ipnExit() { * */ function pmpro_itnChangeMembershipLevel( $txn_id, &$morder ) { - - /** - * Filter the membership level before processing the payment. This filter is not used anywhere and is now deprecated. - * @deprecated 1.5.3 - */ - $morder->membership_level = apply_filters_deprecated( 'pmpro_payfast_itnhandler_level', $morder->membership_level, $morder->user_id, '1.6' ); // update order status and transaction ids $morder->payment_transaction_id = $txn_id;