WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_shipping_methods() public WC 1.0

Return an array of shipping costs within this order.

{} It's a 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();

Code of WC_Abstract_Order::get_shipping_methods() WC 5.8.0

public function get_shipping_methods() {
	return $this->get_items( 'shipping' );
}