Filter
rpress_taxes_on_prices
On this page
Filters whether taxes are shown on prices, in the deprecated rpress_taxes_on_prices().
Applied in the deprecated rpress_taxes_on_prices() function. The default value is true when the taxes_on_prices key exists in the global options array, regardless of its value.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | bool | True if the taxes_on_prices option key is set. |
Return value#
bool. Whether taxes are shown on prices.
Example#
function my_taxes_on_prices( $show ) {
return true;
}
add_filter( 'rpress_taxes_on_prices', 'my_taxes_on_prices' );
Notes#
Deprecated since 1.9. No replacement is provided.
Source#
Applied in:
includes/deprecated-functions.php(line 158), inrpress_taxes_on_prices()
See also#
Was this page helpful?
