FreemKit provides WP-CLI commands to sync and manage subscribers, inspect the Kit connection, and maintain settings, the webhook queue, and database tables.
Requirements
Install WP-CLI and activate FreemKit with a valid Pro license. Run commands from your WordPress installation or supply the global --path option. On multisite, use the global --url option to select the site.
Quick reference
| Command group | What it does |
|---|---|
wp freemkit status | Show plugin, database, Kit, and webhook queue status |
wp freemkit subscribers | List, get, export, or delete subscribers and inspect their events |
wp freemkit sync | Import historical customers or re-sync local subscribers |
wp freemkit settings | List, get, set, export, or import settings |
wp freemkit webhook | List, process, or clear queued webhook events |
wp freemkit kit | Show Kit connection status or test the connection |
wp freemkit audit-log | List or clear audit entries |
wp freemkit db | Check or create the database tables |
Use wp help freemkit to browse commands and wp help freemkit sync to see a command’s full option list.
Output and confirmations
FreemKit follows the same command-group pattern as other WebberZone WP-CLI tools. Options vary by command. Most report commands support --format=table, --format=json, and --format=csv. Sync and settings import support --dry-run. Use --yes to skip confirmation prompts for sync, subscriber deletion, clearing the entire webhook queue, or clearing the audit log.
Sync subscribers
Preview a historical import, save it to the local database, or re-sync local subscribers to Kit:
The defaults are --source=freemius, --destination=local, and --user-types=paid. Without --plugin, FreemKit processes all configured products. To override the configured Kit mapping, pass comma-separated IDs to --form-ids or --tag-ids. The default batch size is 50 and the effective batch size ranges from 1 to 50. A dry run lists matching users without saving records or pushing to Kit.
See Syncing existing subscribers for source, destination, and marketing consent behavior.
Manage subscriber records
List defaults to 20 records per page. Use --page to page through results or --all to return all matches. Get accepts an ID or email address, while events accepts a subscriber ID. Export writes a CSV and defaults to all matching records. Use wp freemkit subscribers delete 42 to delete a local subscriber record.
Read and transfer settings
Import replaces stored settings by default. Use --merge to update only the keys present in the input. Keep exports private because they contain the saved settings, including credential fields when present. Import and export paths are limited to the WordPress root, uploads, or temporary directory.
Inspect status and maintain the site
Use webhook process <event-key> to process a queued event immediately. Use webhook clear <event-key> to clear one event and its deduplication record, or webhook clear --all to clear all queue and deduplication records. Clearing the audit log removes its existing entries.
Run wp freemkit db create to create or update the plugin tables. Add --force to run it even when FreemKit reports that the schema is up to date.
