Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMalisa Stanojevic
782 Points"What function would you use to unhook a function from a filter?" question. Is this a mistake?
How comes that "remove_filter()" is not correct answer?
2 Answers
Zac Gordon
Treehouse Guest TeacherSorry, should read remove from "action" since it's in the Action stage :) All fixed now.
Stephen Van Delinder
21,457 PointsThat question confused me too. I think you are correct -- here's the documentation from the codes for remove_filter();
"This function removes a function attached to a specified filter hook. This method can be used to remove default functions attached to a specific filter hook and possibly replace them with a substitute."