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.

wc_get_attribute_types() code WC 8.6.1

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