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;
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.