前言介紹
- 這款 WordPress 外掛「Contact Form 7 + Telegram」是 2018-07-31 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2025-04-25,距離現在已有 9 天。
- 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 有 18 人給過評分。
- 論壇上目前有 2 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
hokku |
外掛標籤
telegram | contact form 7 | contact form telegram |
內容簡介
這個外掛可以讓你將 Contact Form 7 的訊息傳送到 Telegram 群組或聊天。你只需要完成幾個簡單的步驟:
建立一個 Telegram 機器人,並在 Contact Form 7 - CF7 Telegram 的設定頁面上儲存機器人的 Token 參數,或儲存在 WPFC7TG_BOT_TOKEN 常數中。
在你的聯繫表單樣板中插入短碼 [telegram] 以啟動傳送至 Telegram 的功能。
現在你可以將用戶或群組加入訂閱列表。
想要加入用戶,請向您的機器人發送 /cf7tg_start 命令。
想要加入群組,請把你的機器人加入該群組,並向群組發送 /cf7tg_start 命令。
完成以上步驟後,您將在 Contact Form 7 - CF7 Telegram 的設定頁面中看到訊息請求。您可以選擇批准或拒絕。
鈎子和常數
過濾器 wpcf7tg_skip_tg。
用於跳過傳送訊息的設置。
過濾器 wpcf7tg_markdown。
用於自定義 markdown 標記設置。
常數 WPFC7TG_BOT_TOKEN。
用於在程式文件中定義機器人 Token 的值。
此外掛使用 Telegram API 並且使用遠端 HTTP 請求將通知傳送至 Telegram 伺服器。
原文外掛簡介
This plugin allows to send Contact Form 7 messages to your Telegram-chat. For this you need to make several simple steps.
Create the Telegram-Bot and save the Bot-Token parameter on the settings page Contact Form 7 – CF7 Telegram or to WPFC7TG_BOT_TOKEN constant.
Paste the shortcode [telegram] in your contact form template for activate sending to Telegram.
Now you can to add users or group to subscriber list.
To add a user send the /cf7tg_start command to your bot.
To add a group add your bot to the group and send the /cf7tg_start command to your group.
After this, you will see the requests on the Contact Form 7 – CF7 Telegram settings page. Approve or decline them.
Hooks and constants
Filter wpcf7tg_skip_tg.
Use for skipping sending message.
Filter wpcf7tg_markdown.
Use for customizing markdown tag set.
Constant WPFC7TG_BOT_TOKEN.
Use for define the bot token value in the program files.
This plugin uses API Telegram and makes remote HTTP-requests to Telegram servers for sending your notifications.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Contact Form 7 + Telegram」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.6.1 | 0.6.2 | 0.7.1 | 0.7.2 | 0.7.3 | 0.7.4 | 0.7.5 | 0.7.6 | 0.7.7 | 0.7.8 | 0.7.9 | 0.8.1 | 0.8.2 | 0.8.3 | 0.8.4 | 0.8.5 | 0.8.6 | 0.8.7 | 0.9.2 | 0.9.3 | trunk | 0.10.0 | 0.7.10 | 0.7.10.1 |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。