WC_WCCOM_Site_Installation_State_Storage::get_storage_key
Get the storage key for a product ID.
Method of the class: WC_WCCOM_Site_Installation_State_Storage{}
No Hooks.
Returns
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() WC WCCOM Site Installation State Storage::get storage key code WC 11.0.0
protected static function get_storage_key( $product_id ) : string {
return sprintf( 'wccom-product-installation-state-%d', $product_id );
}