Cart::get_transient_name( string $id )
Returns the name of the transient used by the cart.
Contents
Parameters
- $id
-
(string) (Required)
Return
(string)
Source
File: src/Tickets/Commerce/Cart.php
public static function get_transient_name( $id ) {
return Commerce::ABBR . '-cart-' . md5( $id );
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |