wc_get_attribute_types()WC 2.4.0

Get attribute types.

Hooks from the function

Return

Array.

Usage

wc_get_attribute_types();

Changelog

Since 2.4.0 Introduced.

Code of wc_get_attribute_types() WC 6.7.0

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