Home › Forums › Front-end Issues › Repeater and Flexible Fields not Saving Values from FrontEnd › Reply To: Repeater and Flexible Fields not Saving Values from FrontEnd
I tried to use the add_action filter I was already using in the first version, but without the do_actino in the acf/pre_save_post filter.
It looks like it works, but I’m still using
add_post_meta( $post_id, '_thumbnail_id', $image );
instead of yours
set_post_thumbnail($post, $attachment_id);
do you suggest to use the second one?
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.