My website has two channels: pet_owners and pets. pets channel also has custom field named owner_id.
My problem is: whenever an entry from pet_owners is deleted, would it be possible to force certain entries from pets to be deleted as well?
For example: if an entry from pet_owner gets deleted and its entry_id was 55 then how to automatically delete those pet channel entries where the value of owner_id would also be 55?
How to make it happen? Some plugin or module perhaps?
Thank you.
(P.S. The version of my EE is 2.5.5. Don't know if this information is important or not.)