Home › Forums › General Issues › acf/update_value & wp_update_post to copy WYSIWYG to the_content() in template? › Reply To: acf/update_value & wp_update_post to copy WYSIWYG to the_content() in template?
Sorry to bump this thread like this.
So my attempt above in the functions.php, while wrapped in the is_page_template() didn’t copy to the_content(); It actually just wiped that WYSIWYG box entirely, deleting the content from it.
I removed the IF is_page_template(); and it worked though…
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.