Anterior/Posterior Pelvic Tilt

Hi coach, I’m wondering how you would go about correcting a posterior or anterior pelvic tilt. As in what would be the best exercises to choose and which ones should you avoid.

Correct me if I’m wrong, but if you’ve got a posterior pelvic tilt, you’d want to focus on strengthening the gluteus/hams, and also abs with exercises that avoid using the hip flexors and low back since they’re shortened; so stuff things like the palloff press and hip thrust. And you’d do essentially the opposite for someone with an anterior pelvic tilt, correct?

Also, do you have any recommendations on correcting flat feet and the muscular imbalances that are associated with them? I know that posterior pelvic tilts can be directly related.