WordPress at a glance
function is not described

WC_Order::set_cart_hash() public WC 1.0

Set cart hash.

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

No Hooks.

Return

Null. Nothing.

Usage

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

Code of WC_Order::set_cart_hash() WC 5.0.0

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