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
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.