Home › Forums › Add-ons › Repeater Field › Repeater + WYWIWYG bug with shortcode › Reply To: Repeater + WYWIWYG bug with shortcode
Hi guys
Please note that the filter has changed in ACF PRO. Please change format_value_for_api
to format_value
:
<?php
add_filter('acf/format_value/type=wysiwyg', 'format_value_wysiwyg', 10, 3);
function format_value_wysiwyg( $value, $post_id, $field ) {
$value = apply_filters( 'the_content', $value );
return $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.