Gravityformscli (WordPress plugin)

Uit De Vliegende Brigade
Versie door Jeroen Strompf (overleg | bijdragen) op 16 okt 2024 om 17:59
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

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"

See also

Sources