wc_get_attribute_types()
Get attribute types.
Hooks from the function
Returns
Array.
Usage
wc_get_attribute_types();
Changelog
| Since 2.4.0 | Introduced. |
wc_get_attribute_types() 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' ),
)
);
}