Cart::get_current_cart_transient()
Determine the Current cart Transient Key based on invoice number.
Return
(string|null)
Source
File: src/Tickets/Commerce/Cart.php
public function get_current_cart_transient() {
$cart_hash = $this->get_cart_hash();
if ( empty( $cart_hash ) ) {
return null;
}
return static::get_transient_name( $cart_hash );
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |