Cart::get_transient_name( string $id )

Returns the name of the transient used by the cart.


Parameters

$id

(string) (Required)


Top ↑

Return

(string)


Top ↑

Source

File: src/Tickets/Commerce/Cart.php

	public static function get_transient_name( $id ) {
		return Commerce::ABBR . '-cart-' . md5( $id );
	}

Top ↑

Changelog

Changelog
Version Description
5.1.9 Introduced.