Home › Forums › Bug Reports › Field saving does not respect unfiltered_html capability › Reply To: Field saving does not respect unfiltered_html capability
It is an all or nothing thing, run on the entire $_POST[‘acf’] array before acf/save_post is run.
To allow it on just one field you would need to allow it on all fields and then you’d need to create your own filters for every other field except the one you want to allow. You’d have to hook in and run your own filter on $_POST[‘acf’] before ACF does… I’m not exactly sure how you’d do that. Possibly on the “init” hook with a low priority.
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.