[WordPress] 外掛分享: Gravity Forms CLI Add-On

WordPress 外掛 Gravity Forms CLI Add-On 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Gravity Forms CLI Add-On」是 2016-05-23 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2024-12-02,距離現在已有 153 天。
  • 外掛最低要求 WordPress 4.2 以上版本才可以安裝。
  • 有 7 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

rocketgenius |

外掛標籤

gravity forms |

內容簡介

Gravity Forms CLI 外掛可讓 WP-CLI 使用者在命令列上管理表單、條目等功能。

文件

表單管理

條目管理

開始使用

wp help gf
wp help gf form
wp help gf form field
wp help gf form notification
wp help gf entry
wp help gf entry notification
wp help gf install
wp help gf setup
wp help gf license
wp help gf tool

表單管理
wp gf form [command]

指令:

create – 建立新的表單。
delete – 刪除表單。
duplicate – 複製表單。
edit – 啟動系統編輯器以編輯表單設定。
export – 匯出表單至 Gravity Forms Form 匯出檔案。
form_list – 顯示附帶條目數和檢視數的表單清單。
get – 檢索表單 JSON 設定。
import – 從 Gravity Forms Form 匯出檔案匯入表單。
update – 更新表單。

欄位管理

wp gf form field [command]
wp gf field [command] (alias)

指令:

create – 建立欄位並新增至表單。
delete – 刪除欄位。
duplicate – 複製欄位。
edit – 啟動系統編輯器以編輯欄位設定。
get – 檢索欄位 JSON 設定。
list – 顯示表單的欄位清單。
update – 更新欄位。

通知管理

wp gf form notification [command]
wp gf notification [command] (alias)

指令:

create – 建立新的通知。
delete – 刪除通知。
duplicate – 複製通知。
edit – 啟動系統編輯器以編輯通知設定。
list – 顯示通知。
get – 檢索通知 JSON 設定。
update – 更新通知。

條目管理
wp gf entry [command]

指令:

create – 從原始條目或欄位值對建立新的條目。
delete – 刪除條目。
duplicate – 複製條目。
edit – 啟動系統編輯器以編輯條目 JSON 設定。
export – 匯出條目。
get – 檢索條目的 JSON 設定。
import – 匯入條目。
list – 顯示條目清單。
update – 更新條目。

條目通知
wp gf entry notification [command]

指令:

get – 檢索給定條目的通知。
send – 送出給定條目的通知。

授權管理
wp gf license [command]

原文外掛簡介

The Gravity Forms CLI Add-On allows WP-CLI users to manage forms and entries and more on the command line.
Documentation
Getting started

wp help gf
wp help gf form
wp help gf form field
wp help gf form notification
wp help gf entry
wp help gf entry notification
wp help gf install
wp help gf setup
wp help gf license
wp help gf tool

Form Management
wp gf form [command]

Commands:

create – Creates a new form.
delete – Deletes a form.
duplicate – Duplicates a form.
edit – Launch system editor to edit the Form configuration.
export – Exports forms to a Gravity Forms Form export file.
form_list – Lists the forms with entry count and view counts.
get – Returns the form JSON.
import – Imports forms from a Gravity Forms Form export file.
update – Updates a form.

Field Management

wp gf form field [command]
wp gf field [command] (alias)

Commands:

create – Creates a field and adds it to a form.
delete – Deletes a field.
duplicate – Duplicates a field.
edit – Launch system editor to edit the Field configuration.
get – Returns the JSON representation of a field.
list – Displays a list of fields for a form.
update – Updates a field.

Notification Management

wp gf form notification [command]
wp gf notification [command] (alias)

Commands:

create – Creates a new notification.
delete – Deletes a notification.
duplicate – Duplicates a notification.
edit – Launch system editor to edit the notification configuration.
list – Lists the notification.
get – Returns the notification JSON.
update – Updates a notification.

Entry Management
wp gf entry [command]

Commands:

create – Creates a new entry from either a JSON string with the raw entry or from field-value pairs.
delete – Deletes an entry.
duplicate – Duplicates an entry
edit – Launch system editor to edit the JSON representation of the Entry.
export – Exports entries.
get – Returns a JSON representation of an entry.
import – Imports entries.
list – Displays a list of entries.
update – Updates an entry.

Entry Notifications
wp gf entry notification [command]

Commands:

get – Returns the notifications for the given entry.
send – Sends the notifications for the given entry.

License Management
wp gf license [command]

Commands:

update – Updates the license key for the installation.
delete – Deletes the license key for the installation.

Misc Tools
wp gf tool [command]

Commands:

clear-transients
empty-trash Delete the trashed entries.
verify-checksums Verify Gravity Forms files against the checksums.
system-report Outputs the system report from the Forms > System Status page. Supports “status” as an alias.

Installing Gravity Forms and Add-Ons
The above commands all require Gravity Forms to be installed. However, if Gravity Forms is not installed then you can use this add-on to install it along with all the other official Gravity Forms add-ons.
The install command will download and install the latest version Gravity Forms available for auto-update and then run the database setup. The license key will be saved in the plugin settings.
A valid license key is required either in the GF_LICENSE_KEY constant or the --key option.
Examples:

wp gf install --key=xxxxx
wp gf install --key=xxxxx --activate
wp gf install gravityformspolls --key=xxxxx
wp gf install gravityformsquiz --key=xxxxx

Once installed, the database can be set up or upgraded separately using the setup command. The command will not re-run the setup unless the --force flag is set.
Examples:

wp gf setup
wp gf setup --force

Gravity Forms and official add-ons can be updated using the update command.
Examples:

wp gf update
wp gf update gravityformspolls

Check the current version using the version command.
Examples:

wp gf version
wp gf version gravityformspolls

Requirements

WordPress 4.2+
Gravity Forms 1.9.17.8
WP-CLI version 1.0+

Support
If you find anything that needs fixing please open a support ticket at https://www.gravityforms.com/open-support-ticket/
If you have any ideas for improvements please submit your idea at https://www.gravityforms.com/gravity-forms-roadmap/

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Gravity Forms CLI Add-On」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.7 | trunk |

延伸相關外掛(你可能也想知道)

  • Gravity Forms Zero Spam 》這個 Gravity Forms 的外掛使用不會打擾使用者的防 spam 措施來封鎖垃圾郵件。您不需要進行任何設定或組態,只需要啟用這個外掛!, Gravity Forms 蜜罐欄位沒...。
  • Gravity PDF 》Gravity PDF 是使用 Gravity Forms 和 WordPress 創建動態數字 PDF 文件的最佳自助式解決方案。, 高度自定義的 PDF, 開箱即用的版本提供了四種高度自定義的 P...。
  • Advanced Custom Fields: Gravity Forms Add-on 》提供進階自訂欄位 (Advanced Custom Field),讓 WordPress 編輯使用者或管理員可以在欄位群組配置中選擇 Gravity Form。, 可以在 外掛的 GitHub 存儲庫 中找...。
  • Event Tracking for Gravity Forms 》, Gravity Forms 推出了官方 Google Analytics 外掛,這是本外掛的後繼者。, , 透過 Google Analytics 和 Google Tag Manager,本外掛提供了一個簡單的方法來...。
  • WP Contact Slider – Slide Out Contact Form for WordPress to display Contact Form 7, Gravity Forms, WP Forms, Ninja Forms, plain text/HTML & other shortcodes 》P WP聯繫滑塊是一個簡單的聯繫滑塊,用於顯示Contactform7、Gravity forms、Ninja Forms、Wp Forms、Caldera forms、Constant Contact Forms或顯示隨機文本或...。
  • Surbma | Divi & Gravity Forms 》, 這個外掛程式可以為 Gravity Forms 增加 Divi 主題的表單樣式,非常輕量化,CSS 壓縮以降低載入時間。, 此外掛程式支援 GF 2.5 標記和 2.6 內嵌按鈕功能,...。
  • Gravity Forms No CAPTCHA reCAPTCHA 》這個 WordPress 外掛可以在 Gravity Forms 表單建構器中新增一個「No CAPTCHA reCAPTCHA」欄位類型,並提供淺色/深色主題選項。帶有「No CAPTCHA reCAPTCHA」...。
  • Gravity Forms Email Blacklist 》Gravity Forms 的 Email Blacklist 外掛旨在協助阻擋來自使用通用或競爭對手電子郵件地址的使用者的提交。防止使用者查看表單的確認或通知,並去除不合格的潛...。
  • Gravity Forms + Custom Post Types 》此外掛可將 Gravity Forms 生成的文章對應至自訂文章類型和/或自訂分類,無需任何程式設計。, 介紹, 此外掛為 Gravity Forms 的附加元件,您可以造訪 Gravity...。
  • Multiple Columns for Gravity Forms 》啟用此外掛後,可以將 Gravity Forms 元素分成多欄顯示。插件將會在一個名為「Multiple Columns Fields」的群組內加入三個新元素(「Row Start」、「Column B...。
  • GravityExport Lite for Gravity Forms 》, GravityExport 是從 Gravity Forms 匯出資料的最佳、無需麻煩的解決方案。, GravityExport 提供強大的新功能!可將匯出儲存至 FTP 和 Dropbox、匯出為 PDF...。
  • Contact Listing for WP Job Manager 》使用 WP Job Manager 外掛的網站可以使用任何支援的外掛,並允許訪客直接聯繫連接的應用程式電子郵件(或簡歷作者)。, 支援的表單外掛, , Gravity Forms, Ni...。
  • Gravity Forms CSS Ready Class Selector 》, 這個外掛是讓您更好地搭配使用令人驚豔的 Gravity Forms 外掛的附屬元件。, 歡迎查看我提供的其他免費的 Gravity Forms 外掛附屬元件, , 此外掛相容於 Gr...。
  • Forms: 3rd-Party Integration 》將 Contact Form 7 、Gravity Forms 或 Ninja Forms的提交發送至第三方服務,例如 CRM。可設置多個可配置服務、自定義欄位映射。提供用於結果的前/後處理的ho...。
  • Live Summary for Gravity Forms 》這個簡單且免費的外掛程式可以幫助你輕鬆地將即時摘要新增至任何Gravity Forms表單中,不需要編程。只需勾選要顯示的欄位,然後保存您的表單即可。, 按此試用...。

文章
Filter
Mastodon