Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example usage filter `wpcfm_is_ssot`
Plugin Name: WP-CFM SSOT
Description: Sets WP-CFM bundles as the Single Source of Truth for all tracked options.
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
* Load options directly from WP-CFM configuration bundle files. Do not touch the database.
* @param bool $is_ssot - Default is false
* @return bool
add_filter( 'wpcfm_is_ssot', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.