Home › Forums › General Issues › Mirroring Custom Field Values › Reply To: Mirroring Custom Field Values
You need to find the database names of the fields in woo. Then you need to create and acf/save_post filter https://www.advancedcustomfields.com/resources/acfsave_post/. When the post is saved with the ACF fields you need to get the values of those fields and use update_post_meta()
to update the woo fields.
woo may have it’s own function to do the same.
The other site, you need to figure out what hook in woo to add a filter to in order to copy the values in the other direction. You’ll need to get this information from woo support.
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!
🚀 This week’s session of ACF Chat Fridays dips into the preliminary results of our first ever user survey. Don’t miss it! https://t.co/3UtvQbDwNm pic.twitter.com/kMwhaJTkZc
— Advanced Custom Fields (@wp_acf) May 9, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.