Hello,
I’m looking for infos on how i can update a field of a custom post type everytime it is used as a relationship on a page.
I have my custom post type doctors, i have a page per service, in each page i select the doctors associated to the service but later on i needs thru the doctors CPT to be able to get the url of pages where they are associated.
I was then thinking to have a field “page” in the doctors CPT and every time i save a pages with doctors in it, update the field in doctors with the page link.
Any way to do that ?