Add filter to wc_get_formatted_variation function
-
Hi,
I would like to be able to add the description meta to the variation attribute name and I noticed that your function wc_get_formatted_variation() did not have any apply_filter to the return.
Can you modify this function in order to access it in our functions.php instead of changing it in your code ?
return apply_filters( ‘woocommerce_formatted_variation’, $variation, $flat, $include_names, $skip_attributes_in_name, $return );
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add filter to wc_get_formatted_variation function’ is closed to new replies.