waynedunkley
7/18/2014 - 6:00 AM

Get current chosen shipping method

Get current chosen shipping method

$chosen_methods = WC()->session->get( 'chosen_shipping_methods' );
$chosen_shipping = $chosen_methods[0]; 
var_dump($chosen_shipping);