Offer ends in:
  
Black Friday: 40% off your first year: 40% off on annual plans. Use code with BF2026 at checkout. View Plugins

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 groupWhat it does
wp freemkit statusShow plugin, database, Kit, and webhook queue status
wp freemkit subscribersList, get, export, or delete subscribers and inspect their events
wp freemkit syncImport historical customers or re-sync local subscribers
wp freemkit settingsList, get, set, export, or import settings
wp freemkit webhookList, process, or clear queued webhook events
wp freemkit kitShow Kit connection status or test the connection
wp freemkit audit-logList or clear audit entries
wp freemkit dbCheck 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:

wp freemkit sync --plugin=123 --user-types=paid,trial --dry-run
wp freemkit sync --plugin=123 --user-types=paid,trial
wp freemkit sync --source=local --destination=both --plugin=123

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

wp freemkit subscribers list --status=active --marketing=1 --number=50
wp freemkit subscribers get 42
wp freemkit subscribers events 42 --format=json
wp freemkit subscribers export --file=subscribers.csv

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

wp freemkit settings list
wp freemkit settings get enable_audit_log
wp freemkit settings set enable_audit_log true --type=bool
wp freemkit settings export --file=freemkit-settings.json
wp freemkit settings import freemkit-settings.json --dry-run

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

wp freemkit status --format=json
wp freemkit kit status
wp freemkit kit test
wp freemkit webhook queue-list
wp freemkit audit-log list --limit=10
wp freemkit db status

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.

Was this article helpful?