WordPress at Your Fingertips
function is not described

wc_get_attribute_type_label() WC 3.0.0

Get attribute type label.

No Hooks.

Return

String.

Usage

wc_get_attribute_type_label( $type );
$type(string) (required)
Attribute type slug.

Changelog

Since 3.0.0 Introduced.

Code of wc_get_attribute_type_label() WC 5.6.0

function wc_get_attribute_type_label( $type ) {
	$types = wc_get_attribute_types();

	return isset( $types[ $type ] ) ? $types[ $type ] : __( 'Select', 'woocommerce' );
}