Is there a manner so as to add, for instance, an MP3 file to a WooCommerce product from PHP relatively than from the dashboard panel?
Wanting within the database I see that downloadable_files appears to be a serialized information discipline that handles this. However I’m wondering if there’s a extra easy, really useful manner by means of the API? One thing like $product->put_files()?