WP-CLI

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

After you've installed WP-CLI, you can enter the following command to get a list of all Beaver Builder commands:

wp beaver

The on-screen information will tell you what commands are available and how to access information about each command, such as options and examples.

Currently, the following commands are available.

wp beaver clearcache

Available as of Version 1.8.2 (plugin) and Version 1.6 (Theme).

Clears the Beaver Builder Plugin cache, Beaver Builder Theme cache, or both.

Examples

Single Site

  • Clear the Beaver Builder Plugin cache on your site.

wp beaver clearcache

  • Reset the Beaver Theme cache on your site.

wp beaver theme clearcache

  • Both actions can be combined if the Beaver Builder Theme is active.

wp beaver clearcache --all

Multisite

  • Clear Beaver Builder plugin cache on all subsites.

wp beaver clearcache --network

  • Clear Beaver Builder plugin cache and reset Beaver Builder Theme cache 
    Note: Beaver Theme must be active on root site.

wp beaver clearcache --network --all

wp beaver register

Available as of Beaver Builder Plugin Version 2.1-alpha.

Activates or deactivates the Beaver Builder license key.

Enter wp help beaver register for a list of options and examples.