WC_Order::set_cart_hash │ public │ WC 1.0

Set cart hash.

Метод класса: WC_Order{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$WC_Order = new WC_Order();
$WC_Order->set_cart_hash( $value );
$value(строка) (обязательный)
Cart hash.

Код WC_Order::set_cart_hash() WC 11.2.2

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