Skip to main content
11 events
when toggle format what by license comment
Sep 8, 2019 at 13:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 7, 2019 at 19:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 4, 2019 at 3:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 28, 2018 at 20:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 22, 2018 at 22:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 7, 2018 at 10:49 answer added Robert Andrews timeline score: 2
Feb 7, 2018 at 0:44 comment added Robert Andrews Got a feeling my quote_id in $my_post should be post_id. Going to try that.
Feb 7, 2018 at 0:30 comment added Robert Andrews @TomJNowell 1. Good point/question re update_field - it is Advanced Custom Fields' function for updating ACF fields. But it works okay and saves them fine, the problem is post_status thereafter. 2. But I am passing an ID to wp_update_post, I think. 3. Don't understand the code reduction point.
Feb 7, 2018 at 0:19 comment added Tom J Nowell hmmm update_field is not a WordPress API? Also are you aware that if you don't pass an ID to wp_update_post it will create the post? It's just a wrapper around wp_insert_post, you should be able to reduce your codes size in half trivially
Feb 7, 2018 at 0:12 history edited Robert Andrews CC BY-SA 3.0
added 155 characters in body
Feb 7, 2018 at 0:04 history asked Robert Andrews CC BY-SA 3.0