woocommerce_countries_base_postcode filter-hookWC 3.1.1

Get the base postcode for the store.

Usage

add_filter( 'woocommerce_countries_base_postcode', 'wp_kama_woocommerce_countries_base_postcode_filter' );

/**
 * Function for `woocommerce_countries_base_postcode` filter-hook.
 * 
 * @param  $base_postcode 
 *
 * @return 
 */
function wp_kama_woocommerce_countries_base_postcode_filter( $base_postcode ){

	// filter...
	return $base_postcode;
}
$base_postcode
-

Changelog

Since 3.1.1 Introduced.

Where the hook is called

WC_Countries::get_base_postcode()
woocommerce_countries_base_postcode
woocommerce/includes/class-wc-countries.php 240
return apply_filters( 'woocommerce_countries_base_postcode', $base_postcode );

Where the hook is used in WooCommerce

Usage not found.