Home Forums ACF PRO acf/save_post + post_meta array + shortcodes Reply To: acf/save_post + post_meta array + shortcodes

  • If you want to not process the shortcodes, or for that matter run any of ‘acf_the_content’ filters when getting the value from ACF

    get_sub_field('my_repeater_wysiwyg', false);
    // second parameter tells ACF not to format the value

    I just noticed that you are using the $post_id parameter in get_sub_field(). This function does not have a $post_id parameter, it uses the same ID given in the have_rows() call. Setting it to the post ID you are basically setting format to true.

    Anyway, if it’s not formatted you can store it that way and then do

    $content = apply_filters('acf_the_content', $value_from_your_stored_array);

    when you actually want to display the content that value holds