Let's get shopping!
From Accessibility within the Settings app, tap Hearing enhancements.
Tap Live Caption.
Scroll to Hide profanity.
Tap or slide the Hide profanity switch to ON.
Tap or slide the Use Live Caption switch to ON.
You've completed the steps!