Hello,
I'd like to populate Select Advanced field with data from WP_Query, but not on page load with the default callback function, but dynamically based on value of another field (Radio Button).
I have already developed AJAX interchange involving jQuery/php so that I am receiving WP_Query data as expected based on Radio Button selected item, then put them into key => value array, but I got stuck on how to actually inject this array into the existing Select Advanced field. Should it be inserted into the [options] key of the field?
Thanks.