Timeline for Retrive acf fields in publish_post action for wp_mail
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 18, 2018 at 19:47 | comment | added | djboris |
ACF use the action acf/save_post AFTER the post is published - that is not entirely correct, it depends on the priority given. If the priority is less than 10, then it is called before the post save, but if it is greater than 10, it is called after the post is saved. Check the official documentation.
|
|
Oct 18, 2018 at 16:50 | history | edited | Nicolas Landgraf | CC BY-SA 4.0 |
added 875 characters in body
|
Oct 18, 2018 at 15:44 | vote | accept | Nicolas Landgraf | ||
Oct 18, 2018 at 3:22 | comment | added | Milo |
setup_postdata and wp_reset_postdata are for front-end queries, they won't work reliably (or at all) on most admin pages.
|
|
Oct 17, 2018 at 19:27 | answer | added | djboris | timeline score: 0 | |
Oct 17, 2018 at 18:05 | review | First posts | |||
Oct 17, 2018 at 21:47 | |||||
Oct 17, 2018 at 18:03 | history | asked | Nicolas Landgraf | CC BY-SA 4.0 |