How can i style “echo apply_filters”
apply_filters just calls any methods hooked to the filter, in this case woocommerce_attribute, and returns the output. You could do a couple of things to style this, here’s one way: $filtered = apply_filters( ‘woocommerce_attribute’, wpautop( wptexturize( implode( ‘, ‘, $values ) ) ), $attribute, $values ); echo ‘<span class=”attribute-‘ . esc_attr( $attribute ) . “>’ … Read more