|
|
optionally used for regions that are not included in any other shipping zone.', 'woocommerce' ); ?> |
get_shipping_methods();
uasort( $methods, 'wc_shipping_zone_method_order_uasort_comparison' );
if ( ! empty( $methods ) ) {
foreach ( $methods as $method ) {
$class_name = 'yes' === $method->enabled ? 'method_enabled' : 'method_disabled';
echo '- ' . esc_html( $method->get_title() ) . '
';
}
} else {
echo '- ' . __( 'No shipping methods offered to this zone.', 'woocommerce' ) . '
';
}
?>
|
|