WC_Abstract_Order::get_shipping_methods()
Return an array of shipping costs within this order.
Method of the class: WC_Abstract_Order{}
No Hooks.
Return
WC_Order_Item_Shipping[]
.
Usage
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->get_shipping_methods();
WC_Abstract_Order::get_shipping_methods() WC Abstract Order::get shipping methods code WC 8.7.0
public function get_shipping_methods() { return $this->get_items( 'shipping' ); }