Two related taxonomies. how to filter terms in second taxonomy depending on selected term in first taxonomy on Post edit page?

My approach would be:

  1. Hide city edition metabox, by setting public to false.
  2. I would override how metabox for country should render by using meta_box_cb parameter. You should provide callback for the function that will do the render.
  3. In this function, you first render the field for country, and then on choose you make an AJAX request to your backend to gather a list of the cities for the provided country.

techhipbettruvabetnorabahisbahis forumuedusedueduedueduedusedusedueduedu