WordPress at a glance
function is not described

WC_Product_Factory::get_classname_from_product_type() WC 1.0

Create a WC coding standards compliant class name e.g. WC_Product_Type_Class instead of WC_Product_type-class.

This is a method of the class: WC_Product_Factory

No Hooks.

Return

String/false.

Usage

$var = WC_Product_Factory::get_classname_from_product_type( $product_type );
$product_type(string) (required)
Product type.

Code of WC Product Factory::get classname from product type: woocommerce/includes/class-wc-product-factory.php WC 3.7.0

<?php
public static function get_classname_from_product_type( $product_type ) {
	return $product_type ? 'WC_Product_' . implode( '_', array_map( 'ucfirst', explode( '-', $product_type ) ) ) : false;
}