• Resolved pardesign

    (@pardesign)


    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)
  • Mirko P.

    (@rainfallnixfig)

    Hi @pardesign,

    Any request to change core WooCommerce functions should be sent via our Ideas Board, which is where WooCommerce developers go to look for future plugin features and improvements.

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Add filter to wc_get_formatted_variation function’ is closed to new replies.