hi - i have multiple custom post types.
I have a custom post type that has post_title as a field, i am using query arg to create the dynamix selction - i am using user_id as $ current_user_id.
i want to additionally limit to the custom_post type selected as the first drop down - for e.g. if i have hotel, restaurant as the selection available for first field, if the user selects hotel, only the hotel titles created by user should show up for second dependent field with post_title. How to achieve this with query_args or validations?