woocommerce_validate_postcode

woocommerce_validate_postcode

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_validate_postcode') is found 1 times:

  • /includes/class-wc-validation.php line 124
    				$valid = true;
    				break;
    		}
    
    		return apply_filters( 'woocommerce_validate_postcode', $valid, $postcode, $country );
    	}
    
    	/**
    	 * Check if is a GB postcode.
    	 *
    	 * @param  string $to_check A postcode.