Cart::set_cart_hash( string $cart_hash )
Configures the Cart hash on the class object
Contents
Parameters
- $cart_hash
-
(string) (Required) Cart hash value.
Source
File: src/Tickets/Commerce/Cart.php
public function set_cart_hash( $cart_hash ) {
$this->get_repository()->set_hash( $cart_hash );
}
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |