Filter
rpress_local_taxes_only
On this page
Filters whether only local taxes are enabled, in the deprecated rpress_local_taxes_only().
Applied in the deprecated rpress_local_taxes_only() function, which returns true when the tax_condition option in the global options array equals local. The function is only reached by legacy code that still calls it.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$local_only | bool | True if the tax_condition option is set to local. |
Return value#
bool. Whether only local taxes apply.
Example#
function my_local_taxes_only( $local_only ) {
return false;
}
add_filter( 'rpress_local_taxes_only', 'my_local_taxes_only' );
Notes#
Deprecated since 1.6. No replacement is provided.
Source#
Applied in:
includes/deprecated-functions.php(line 130), inrpress_local_taxes_only()
See also#
Was this page helpful?
