woocommerce_shipping_calculator_enable_city filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_shipping_calculator_enable_city', 'filter_function_name_7871' ); function filter_function_name_7871( $true ){ // filter... return $true; }
- $true
- -
Where the hook is called
woocommerce_shipping_calculator_enable_city
woocommerce/templates/cart/shipping-calculator.php 74
<?php if ( apply_filters( 'woocommerce_shipping_calculator_enable_city', true ) ) : ?>