Home › Forums › Feature Requests › get_field, the_field() – return escaped value › Reply To: get_field, the_field() – return escaped value
Hi @wube
I think it’s such an easy thing to do yourself there’s not really need for ACF to add another setting for it. It would probably be more confusing to “non power user” than helpful to power users 🙂
If you want to simply escape values for a specific field type or perhaps even all of your fields you can use the acf/format_value hook:
http://www.advancedcustomfields.com/resources/acfformat_value/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.