Преминете към основното съдържание

Action: wu_membership_new_payment_pre_totals

Fires before a membership payment has its totals recalculated.

Addons can add auditable line items to renewal payments without changing the membership's recurring amount or invoking a gateway.

Parameters

NameTypeDescription
$new_payment\WP_Ultimo\Models\PaymentUnsaved payment object.
$membership\MembershipMembership being billed.
$remove_non_recurringboolWhether non-recurring items were removed.
$saveboolWhether the payment will be saved.

Since

  • 2.15.1

Source

Defined in inc/functions/membership.php at line 340