May 2017

Filter woocommerce_order_item_name breaking on $prod->get_title() ?

By | 2017-05-31T11:40:30-07:00 May 31st, 2017|Categories: Tips & Tricks|Tags: , , , |

Recently I have had 2 people come up with the same question / problem. I was able to give them really basically the same answer. Looking through their logs I found that the problem both times had to do with getting the title of the product, $_product->get_title() within the woocommerce_order_item_name filter. What their goals were was to add [...]