WordPress at Your Fingertips
function is not described

WC_Order_Item_Shipping::set_name() public WC 1.0

Set order item name.

{} It's a method of the class: WC_Order_Item_Shipping{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Order_Item_Shipping::set_name() WC 5.9.0

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