WC_Order_Item_Shipping::set_name()publicWC 1.0

Set order item name.

Method of the class: WC_Order_Item_Shipping{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Item_Shipping = new WC_Order_Item_Shipping();
$WC_Order_Item_Shipping->set_name( $value );
$value(string) (required)
Value to set.

WC_Order_Item_Shipping::set_name() code WC 9.4.2

public function set_name( $value ) {
	$this->set_method_title( $value );
}