WC_Order_Item_Shipping::get_method_id( string $context = 'view' )

Get method ID.


Description Description


Parameters Parameters

$context

(Optional) View or edit context.

Default value: 'view'


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-order-item-shipping.php

	public function get_method_id( $context = 'view' ) {
		return $this->get_prop( 'method_id', $context );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.