Modifies the tax associated with an order. Passes the tax amount, an array of values such as the price of the order and more, and the MemberOrder object.


apply_filters("pmpro_tax", int $tax, array $values, MemberOrder $this);

Parameters

$tax
int
$values
array
$this
MemberOrder

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/adminpages/orders.php

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/adminpages/orders-csv.php

View in Source Code

Related Articles and Recipes

Custom Tax Structure Using the pmpro_tax Hook By Jason Coleman