Support

Account

Home Forums Backend Issues (wp-admin) how to detect if post is new or edited with pre_save_post()? Reply To: how to detect if post is new or edited with pre_save_post()?

  • Yes exactly, but as mentioned, $post_id is always an actual ID, never a string regardless of what I set in the acf_form() function, so thats why that line doesn’t work.