So I’m building a template for ACF and I got services, FAQs, projects post type, etc. But I realize for projects. I may have multiple projects done for the same company so I decided That I also need to make a Companies post type before I fill out the project so I can create a company and then reads the company to another project later on but if I do this, I wanna make sure that these two are relational so that if I delete a Company, all its projects are deleted as well. Is this a recommended strategy? And if so, how should I go about doing this?
The latest ACF relationship field supports bi-directional relationships. You can find info on how to set it up on their documentation site. Sorry, on my phone else I’d drop it here. It’s pretty neat!