Simulate “Update” button press

Question

I have recently ran an SQL script to update the values of all products for one of it’s post metas (essentially changed the value from 0 to 1). This change doesn’t take effect on the frontend until you click update on the post in the admin area.

I have 300+ products that I naturally don’t want to manually click to update. With that said is there a 1 time function I can run that will run the action of “updating” all products.

0
, Daniel Vickers 4 years 2019-11-06T10:30:29-05:00 0 Answers 73 views 0

Leave an answer

Browse
Browse