Home › Forums › Backend Issues (wp-admin) › Dynamically Load Select Choices with Functions › Reply To: Dynamically Load Select Choices with Functions
It is possible that there is a bug at the moment which would prevent the load_field filter from working witha field name. Can you try using the field key instead?
In your filter, just change ‘name=select_waiting_list’ to ‘key=field_123’ – where this is the field key.
Also, you can check if the filter is working by placeing this code before the return $field;
print_r( $field );
die;
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.