Timeline for ACF - get_field() using 'option' as post_id not working
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2023 at 20:31 | comment | added | Shiloh Lawrence |
@ChrisMontgomery I disagree. They are following the documentation, which isn't good, and if they remove that field and use the default ACF value each page will still have its own ID based on the title, which fulfills their need. Just because the ACF documentation is poor in this example doesn't mean this isn't a solution. You aren't required to pass post_id here and even in your comment above on Zeth's post you express that you don't understand what the post_id registration arg does.
|
|
Aug 4, 2023 at 5:51 | comment | added | Chris Montgomery | This isn't really a solution, as it ignores the multiple examples in the original post where they demonstrate that they do in fact want to use something other than the default. | |
Sep 30, 2022 at 20:59 | history | answered | Shiloh Lawrence | CC BY-SA 4.0 |