Using WP CLI commands in Burst

When managing a WordPress site at scale—like those powered by Burst Statistics—efficiency is everything. That’s where WP-CLI comes in. WP-CLI is a command-line interface for WordPress that allows developers and site administrators to perform tasks quickly, without needing to navigate the dashboard. From activating plugins to clearing caches, WP-CLI is a powerful tool that can supercharge your workflow. In this article, we’ll dive into the most useful WP-CLI commands specifically tailored for working with Burst Statistics, helping you automate tasks, troubleshoot issues, and optimize performance—straight from the terminal.

Installing Burst

This one is easy, it’s a core WordPress WP CLI command:

wp plugin install burst-statistics –activate

For premium, you have to put the zip file somewhere so the WP CLI can find it:

wp plugin install /path/to/plugin.zip –activate

Custom Burst WP CLI commands

With Burst Statistics you can do several thinks with WP CLI commands:

  • activate or deactivate your license: wp burst activate_license <your-license> or wp burst deactivate_license
  • save an option: wp burst save –enable_turbo_mode=true –enable_cookieless_tracking=one
  • install demo data: wp burst install_demo_data. This feature installs a set of fake statistical data which you can use for testing purposes.

Do you have other features you would like to see as a WP CLI command? Let us know, and we can probably add it very quickly!