I have a CPT field group Properties with a select field Community where the editor needs to choose from an existing list of Communities.
I also have a separate CPT field group for Communities and would like to use a callback function to extract the list of entries and make those the available options for the Community select field above.
Can you provide an example of the function I would need to write for this?