WC_WCCOM_Site_Installation_State_Storage::get_storage_key()protected staticWC 1.0

Get the storage key for a product ID.

Method of the class: WC_WCCOM_Site_Installation_State_Storage{}

No Hooks.

Return

String.

Usage

$result = WC_WCCOM_Site_Installation_State_Storage::get_storage_key( $product_id ) : string;
$product_id(int) (required)
The product ID.

WC_WCCOM_Site_Installation_State_Storage::get_storage_key() code WC 8.9.0

protected static function get_storage_key( $product_id ) : string {
	return sprintf( 'wccom-product-installation-state-%d', $product_id );
}