Filter including the total price to modify the price parts, add parts, or modify the display.


apply_filters( 'pmpro_get_price_parts_with_total', $pmpro_price_parts_with_total, $pmpro_invoice );

Parameters

$pmpro_price_parts_with_total
array. The array of price parts including the total.

<!–

$format
string. Format of the return value passed to the function.

–>

$pmpro_invoice
object The full order object.

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code