The Gravity Forms CLI Add-On is a specialized tool for developers and site administrators that allows for the management of Gravity Forms directly through the command line using WP-CLI. This is particularly useful for automating migrations, mass updates, or managing forms on headless WordPress setups.
This is EXACTLY the same product as distributed by the developer. Sales Page
Technical Specifications & Requirements
To use this add-on, your environment must meet the following minimum versions:
| Component | Minimum Requirement |
| WordPress | 4.2+ |
| Gravity Forms | 1.9.17.8+ |
| WP-CLI | 1.0.0+ |
| PHP | Compatible with your WP/Gravity Forms version |
Core Command Categories
The add-on extends WP-CLI with the wp gf root command. Here is a breakdown of what you can control:
1. Form Management (wp gf form)
Allows you to create, edit, or migrate form structures.
-
Commands:
create,delete,duplicate,edit,export,import,list,get. -
Example:
wp gf form list --format=csv(Lists all forms in a CSV format).
2. Entry Management (wp gf entry)
Useful for handling submission data without using the WordPress dashboard.
-
Commands:
create,delete,duplicate,edit,export,get,list,update. -
Advanced usage: You can create entries from JSON strings or field-value pairs (e.g.,
wp gf entry create 1 --field_1="John Doe").
3. Field & Notification Management
You can manipulate specific parts of a form, such as adding fields or triggering emails.
-
Field Commands:
wp gf field [create|delete|list|update] -
Notification Commands:
wp gf notification [list|get|send] -
Pro-tip: You can manually trigger a notification for a specific entry using
wp gf entry notification send <entry-id>.
4. Installation & Updates
One of the most powerful features is the ability to install Gravity Forms and its official add-ons on a fresh site via CLI.
-
Install:
wp gf install --key=YOUR_LICENSE_KEY -
Update:
wp gf update -
Tooling: Includes commands to clear transients, empty trash, and verify file checksums (
wp gf tool verify-checksums).
- Categories: WordPress Plugins
- Tags: Gravity Forms
