Home › Forums › General Issues › Message field, and wp_kses_allowed_html › Reply To: Message field, and wp_kses_allowed_html
For message fields, you cannot insert input tags into the message. These will be stripped out when the field is saved.
You need a two step process. The first you already did, and that is to allow the output of the input field.
The second step is to use an acf/prepare_field filter for the message field and generate the input HTML in php and return it in $field[‘message’]
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.