Filter
rpress_taxes_on_prices_on_checkout
On this page
Filters whether tax is shown on prices at checkout.
Runs in rpress_prices_show_tax_on_checkout(). The default is true only if the checkout_include_tax setting is 'yes' and taxes are enabled.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$show_tax | bool | Whether tax is displayed with prices on the checkout. |
Return value#
bool. True to show tax on checkout prices.
Example#
function my_show_tax_on_checkout( $show_tax ) {
return rpress_use_taxes();
}
add_filter( 'rpress_taxes_on_prices_on_checkout', 'my_show_tax_on_checkout' );
Source#
Applied in:
includes/tax-functions.php(line 162), inrpress_prices_show_tax_on_checkout()
See also#
Was this page helpful?
