WC_Order::set_cart_hash()publicWC 1.0

Set cart hash.

Method of the class: WC_Order{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order = new WC_Order();
$WC_Order->set_cart_hash( $value );
$value(string) (required)
Cart hash.

WC_Order::set_cart_hash() code WC 8.6.1

public function set_cart_hash( $value ) {
	$this->set_prop( 'cart_hash', $value );
}