woocommerce_show_tax_configuration_notice
Filter whether to show the tax configuration incomplete notice.
Usage
add_filter( 'woocommerce_show_tax_configuration_notice', 'wp_kama_woocommerce_show_tax_configuration_notice_filter' );
/**
* Function for `woocommerce_show_tax_configuration_notice` filter-hook.
*
* @param bool $show_notice Whether to show the notice.
*
* @return bool
*/
function wp_kama_woocommerce_show_tax_configuration_notice_filter( $show_notice ){
// filter...
return $show_notice;
}
- $show_notice(true|false)
- Whether to show the notice.
Default: true
Changelog
| Since 10.5.0 | Introduced. |
Where the hook is called
woocommerce_show_tax_configuration_notice
woocommerce/includes/admin/settings/class-wc-settings-tax.php 427
if ( ! apply_filters( 'woocommerce_show_tax_configuration_notice', true ) ) {