WordPress at Your Fingertips
function is not described

WC_Order::set_created_via() public WC 1.0

Set created via.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order = new WC_Order();
$WC_Order->set_created_via( $value );
$value(string) (required)
Created via.

Code of WC_Order::set_created_via() WC 5.7.1

public function set_created_via( $value ) {
	$this->set_prop( 'created_via', $value );
}