Skip to content

Commit

Permalink
Remove filter since it's never been used.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlimaza committed Sep 30, 2024
1 parent 252e7d8 commit 4759190
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions services/payfast_itn_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4759190

Please sign in to comment.