Title: Resolving ACF output code issue
Last modified: January 22, 2024

---

# Resolving ACF output code issue

 *  Resolved [2cats](https://wordpress.org/support/users/2cats/)
 * (@2cats)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resolving-acf-output-code-issue/)
 * I know you are being inundated with questions about the output code change and
   I wasn’t sure whether to piggyback on someone else’s post or add my own.
 * I’ve been using <?php the_field(‘field_name’); ?> to retrieve fields. If I change
   this to: <?php echo wp_kses_post( get_field(‘field_name’) ); ?> does this do 
   the trick?
 * Additionally, I purchased the ACF Repeater plugin add-on many years ago and am
   still using it in combination with ACF on a number of old websites. Is the Repeater
   plugin going to continue to work after this update?
 * Thanks for your help!

Viewing 1 replies (of 1 total)

 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/resolving-acf-output-code-issue/#post-17364723)
 * The repeater add-on plugin was discontinued a while back and hasn’t been updated
   in a while. It might stop working correctly in the future due to wordpress changes.
   Consider using ACF pro if you can.
 * About the_field method, this has not yet been affected by the new changes in 
   version 6.2.5 as stated here [https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/)
   but it will also have its output sanitized in an upcoming future update 6.2.7
   in February 2023. 
   With the wp_kses_post function, you are sanitizing the output
   of get_field removing all HTML tags in the field’s value that aren’t allowed.
   If you need further clarification you can open a ticket with us here [https://www.advancedcustomfields.com/support/](https://www.advancedcustomfields.com/support/)

Viewing 1 replies (of 1 total)

The topic ‘Resolving ACF output code issue’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [ACF Repeater](https://wordpress.org/support/topic-tag/acf-repeater/)
 * [output](https://wordpress.org/support/topic-tag/output/)

 * 1 reply
 * 2 participants
 * Last reply from: [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/resolving-acf-output-code-issue/#post-17364723)
 * Status: resolved