WP-CFM

February 14, 2024

WP-CFM Plugin

Manage and deploy WordPress configuration changes.

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_options table)
  • Multisite settings (wp_sitemeta table)
  • 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

  1. Download and activate the plugin.
  2. Browse to Settings > WP-CFM to configure.

Screenshots

  1. The admin management interface

    The admin management interface

  2. Editing a configuration "bundle"

    Editing a configuration "bundle"

  3. Diff viewer to track changes within a bundle

    Diff viewer to track changes within a bundle

Changelog


1.7.10

:bug: Bug Fixes

  • Assets: Fixes missing asset updates (PR #177 by @timnolte)
    • :arrow_lower_right: fixes issue #176 opened by @tych095

See the previous changelogs here

Details

  • Version: 1.7.10
  • Active installations: 2,000
  • WordPress Version: 5.0
  • Tested up to: 6.4.5
  • PHP Version: 7.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars