WP-CFM
WP-CFM
Description
WP-CFM lets you copy database configuration to / from the filesystem. Easily deploy configuration changes without needing to copy the entire database. WP-CFM is similar to Drupal’s Features module.
How will WP-CFM benefit me?
- Less need to copy over the entire database.
- No more rushing to figure out which settings you forgot to change.
- Easily track and version configuration changes via git, subversion, etc.
Which data does WP-CFM support?
- WP settings (
wp_optionstable) - Multisite settings (
wp_sitemetatable) - Taxonomy terms
- Custom Field Suite field groups
Terminology
- Bundle – A group of (one or more) settings to track
- Push – Export database settings to the filesystem
- Pull – Import file-based settings into the database
WP-CLI
WP-CFM supports [pull / push / diff] of bundles from the command-line using WP-CLI:
wp config pull [bundle_name] wp config push [bundle_name] wp config diff [bundle_name] wp config bundles wp config show_bundle [bundle_name]
You can optionally set bundle_name to “all” to include all bundles.
Append the --network flag to include multisite bundles.
Filters
See the filters reference page at the GitHub Wiki.
Installation
- Download and activate the plugin.
- Browse to
Settings > WP-CFMto configure.
Screenshots
Reviews
Great plugin! One small usability request...
By menathor on April 11, 2021
So So Useful...
By Enterprise Branding (enterprisebranding) on March 24, 2020
Very useful to version control the options of your site
By Carl Alberto (carl-alberto) on April 12, 2018
Great solution for config management in WordPress
By johnbburg on August 28, 2017
Configure once, deploy multiple times
By Andrew Taylor (andrew.taylor) on September 3, 2016
Awesome plugin for tracking configuration in version control.
I auto import bundles in my test and live environments when deploying from development which saves me a ton of time from having to make the same configuration updates over and over.
Great
By natpromo4 on September 3, 2016
Great plugin, works as advertised. I'm using the plugin to deploy settings and keep them under version control. If it could just save advanced custom fields and page/sub-page structure it would be essential on any site


