WP-CLI

Everything operational is scriptable under wp range-trust, useful for cron on managed hosts, migrations and CI.

Sync

wp range-trust sync        # every syncable source
wp range-trust sync 3      # one source by id

Prints stored review counts per source; a failing source's error message is shown (and exits non-zero for a single-source sync).

Sources

wp range-trust sources

A table of id, platform, name, rating, review count, last sync and last error: the quickest health check.

Import and export

wp range-trust import reviews.csv --source=2
wp range-trust import legacy.json --source=2 --platform=tripadvisor
wp range-trust export > reviews.csv

.json files are parsed as JSON, everything else as CSV, with the same column matching as the admin importer. --platform sets the label for rows without their own.

Licence

wp range-trust license                 # show status
wp range-trust license <key>           # activate
wp range-trust license --deactivate    # release this site's activation

Real cron

On hosts where WP-Cron is unreliable, disable it and drive syncs from system cron:

*/30 * * * * wp cron event run --due-now --path=/var/www/html --quiet