WC_Order::set_order_key( string $value )

Set order key.


Description Description


Parameters Parameters

$value

(Required) Max length 22 chars.


Top ↑

Source Source

File: includes/class-wc-order.php

	public function set_order_key( $value ) {
		$this->set_prop( 'order_key', substr( $value, 0, 22 ) );
	}

Top ↑

User Contributed Notes User Contributed Notes

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