Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1
Newest
 Student
Impact
~107 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Dec
10
asked How can I create a WP_Query that returns posts where one meta_value <= another meta_value
Nov
20
comment Use WooCommerce function in other Wordpress plugin
Arggghh. Never mind the comment above. I was trying to set_stock() on a product that did not have managing_stock set to yes. Toggled that and now this works perfectly.
Nov
20
comment Use WooCommerce function in other Wordpress plugin
This answer doesn't work for me. I have the product (I'm logging it out and I can see all its attributes), $stock is a valid integer, and I get no errors in the log when I do $product->set_stock($stock); but the change is just not written to the DB. What could be going wrong?
Oct
11
awarded  Student
Oct
11
asked Jetpack: what happens to email subscribers if I access admin on a subdomain?