[ad_1]
Hello there!
I’m trying to use dynamic choices do populate a select box using a custom post type created with ACF. I can select the post type properly, but I’d like to filter based on aflag field I have in this custom post type.
I came across this filter –> wpforms_dynamic_choice_post_type_args
that seems to be the place where I could add some filtering criteria but I have no ideia how to refer the args to look into my custom post type and return only data when meeting the filter criteria.
Do you have any docs or guidelines for this?
Thanks in advance
