I have a site that I am managing where a user account is assigned to multiple Markets (in this case, Market is a custom post type). Example below:
San Diego, CA
I have an acf_form() that has a Post Object field that is connected to Markets. However, that field loads in all the Markets. I want to only load in the Markets that the user is associated with.
Is it possible to create a Post Object field (or heck, even a dropdown) that is allowed to be dynamic based on the user that logs in? I know there are ways to hook into the values of a dropdown in PHP, but that permanently changes the dropdown selections, so that hasn’t worked.
Any suggestions are welcomed! Thanks!
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users