Support

Account

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;
    
    }
    
    ?>