Filter
rpress_taxes_after_discounts
On this page
Filters whether taxes are calculated after discounts, in the deprecated rpress_taxes_after_discounts().
Applied in the deprecated rpress_taxes_after_discounts(). The default is true only when the taxes_after_discounts option is set and taxes are enabled according to rpress_use_taxes().
Parameters#
| Parameter | Type | Description |
|---|---|---|
$ret | bool | True if the taxes_after_discounts option is set and taxes are in use. |
Return value#
bool. Whether taxes are calculated after discounts.
Example#
function my_taxes_after_discounts( $ret ) {
return true;
}
add_filter( 'rpress_taxes_after_discounts', 'my_taxes_after_discounts' );
Notes#
Deprecated since 2.1. No replacement is provided.
Source#
Applied in:
includes/deprecated-functions.php(line 306), inrpress_taxes_after_discounts()
See also#
Was this page helpful?
