Lines:
1 to 37 of 37
<?php /** * Represents a single shipping zone * * @since 2.6.0 * @version 3.0.0 * @package WooCommerce\Classes */ defined( 'ABSPATH' ) || exit; require_once __DIR__ . '/legacy/class-wc-legacy-shipping-zone.php'; /* class WC_Shipping_Zone */ /* function WC_Shipping_Zone::__construct() – Constructor for zones. */ /* function WC_Shipping_Zone::get_zone_name() – Get zone name. */ /* function WC_Shipping_Zone::get_zone_order() – Get zone order. */ /* function WC_Shipping_Zone::get_zone_locations() – Get zone locations. */ /* function WC_Shipping_Zone::get_formatted_location() – Return a text string representing what this zone is for. */ /* function WC_Shipping_Zone::get_shipping_methods() – Get shipping methods linked to this zone. */ /* function WC_Shipping_Zone::set_zone_name() – Set zone name. */ /* function WC_Shipping_Zone::set_zone_order() – Set zone order. Value to set. */ /* function WC_Shipping_Zone::set_zone_locations() – Set zone locations. */ /* function WC_Shipping_Zone::save() – Save zone data to the database. */ /* function WC_Shipping_Zone::generate_zone_name() – Generate a zone name based on location. */ /* function WC_Shipping_Zone::location_is_continent() – Location type detection. */ /* function WC_Shipping_Zone::location_is_country() – Location type detection. */ /* function WC_Shipping_Zone::location_is_state() – Location type detection. */ /* function WC_Shipping_Zone::location_is_postcode() – Location type detection. */ /* function WC_Shipping_Zone::is_valid_location_type() – Is passed location type valid? */ /* function WC_Shipping_Zone::add_location() – Add location (state or postcode) to a zone. */ /* function WC_Shipping_Zone::clear_locations() – Clear all locations for this zone. */ /* function WC_Shipping_Zone::set_locations() – Set locations. */ /* function WC_Shipping_Zone::add_shipping_method() – Add a shipping method to this zone. */ /* function WC_Shipping_Zone::delete_shipping_method() – Delete a shipping method from a zone. */