wc_get_attribute_types()WC 2.4.0

Get attribute types.

Hooks from the function

Returns

Array.

Usage

wc_get_attribute_types();

Changelog

Since 2.4.0 Introduced.

wc_get_attribute_types() code WC 10.5.0

function wc_get_attribute_types() {
	return (array) apply_filters(
		'product_attributes_type_selector',
		array(
			'select' => __( 'Select', 'woocommerce' ),
		)
	);
}