Woocommerce attribute problem
-
function skyverge_change_attribute_list_display( $output, $attributes, $values ) { return wpautop( wptexturize( implode( ‘<br />’, $values ) ) ); } add_filter( ‘woocommerce_attribute’, ‘skyverge_change_attribute_list_display’, 10, 3 );
I was applied this code for replace the comma(,) to line break between two terms in attribute. But the problem is it applied to my all attributes. I want to apply it on some specific attributes. How i can do it? Help me……
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Woocommerce attribute problem’ is closed to new replies.