Home › Forums › ACF PRO › Add WP CLI command to sync all ACF Field Groups › Reply To: Add WP CLI command to sync all ACF Field Groups
HI, @rasso I marked the post as private so you could check I wasn’t doing something wrong. I have updated to your latest gist and the error went away. I need to test with some fields that need a sync, currently $field_groups_class->sync
is empty. I’m excited you made this code, it’s going to save time when I deploy across multiple environments.
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.