Gravityformscli (WordPress plugin)
Versie door Jeroen Strompf (overleg | bijdragen) op 16 okt 2024 om 17:59
gravityformscli is a plugin that comprizes of WP-CLI commands for interacting with the Gravity Forms plugin.
Licensing
- Open-source: GPLv2+
- Gratis.
Installation
Contrary to the core Gravity Forms plugin, this plugin can be installed through the WP-CLI, which usually is an indication that it is gratis:
wp plugin install gravityformscli --activate
Disable or enable a form?
I have the impression that you cannot disable or enable a form through a dedicated WP-CLI command.
Example using SQL:
cd $site_path sql="update wp_gf_form set is_active=0 where id=1" wp db query "$sql"