PRX / cms.theworld.org

Wordpress CMS for The World
Apache License 2.0
0 stars 2 forks source link

Include ACF settings sync into dev scripts commands #169

Closed rpeterman-gp closed 4 months ago

rpeterman-gp commented 6 months ago

We currently pull in CFM settings changes when running npm run local or npm run refresh. Would it be advisable to include synch ACF settings with these scripts as well?

Gist for plugin to add WP CLI command for ACF sync: https://gist.github.com/hirasso/c48c04def92f839f6264349a1be773b3

brandonhundt commented 4 months ago

Added to Four Kitchens queue: https://advomatic.zendesk.com/hc/en-us/requests/10191. Now that we aren't using WP-CFM, we should probably clean that out.

gtenaschuk commented 4 months ago

PR Added to include the WP-CLI command. The command needs to be run manually using wp-cli or terminus in pantheon environments.

 example usage wp-cli: wp tw acf-sync-field-groups
 example usage terminus: terminus wp the-world.{environemt} -- tw acf-sync-field-groups