Support

Account

Home Forums Backend Issues (wp-admin) Relationship update on save

Unread

Relationship update on save

  • 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 ?

Viewing 1 post (of 1 total)

The topic ‘Relationship update on save’ is closed to new replies.