Linux 软件免费装
Banner图

Send Contact Form 7 submissions to MAX Messenger bot

开发者 stasionok
更新时间 2026年5月5日 16:16
WordPress版本: 6.9
版权: GPLv3

标签

integration contact form 7 notifications messenger max

下载

1.0.3

详情介绍:

This plugin sends each successful Contact Form 7 submission to a chat in MAX messenger using your own bot. Configure the bot access token and target chat id under Contact Form 7 → Integration. This plugin is an independent integration and is not affiliated with or endorsed by MAX messenger or Contact Form 7.

安装:

  1. Upload the plugin files to the /wp-content/plugins/send-contact-form-7-submissions-to-max-messenger-bot directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Open Contact Form 7 → Integration page.
  4. Configure the MAX bot access token and target chat id.
  5. Submit a contact form — the entry will appear in the configured MAX chat.

屏幕截图:

  • Empty plugin settings form.
  • Filled plugin settings form.
  • Plugin settings location with saved credentials.

常见问题:

How to get a bot access token?

Open MAX for Business, add a Chat bot, then open the Integration section for that bot — there you can create or copy the bot access token.

How to get the chat id?

Add the bot to the target chat. The chat id can be obtained via MAX Bot API (GET /chats) or by inspecting incoming bot updates.

How to override credentials in code?

Define MMFCFBS_TOKEN and MMFCFBS_CHAT_ID constants in wp-config.php. They take precedence over the values stored in the database.

Which filters (apply_filters) are available?

The plugin exposes the following filters for developers:

  • mmfcfbs_token — (string) Bot access token after reading from constants / stored options. Use to supply or replace the token programmatically.
  • mmfcfbs_chat_id — (string) Target chat id after reading from constants / stored options.
  • mmfcfbs_message_text — (string) Full plain-text message body before it is sent to MAX. Passed arguments: message text, Contact Form 7 form object, posted field array.
Example: add_filter( 'mmfcfbs_message_text', function ( $text, $contact_form, $posted_data ) { $text .= "\n" . home_url(); return $text; }, 10, 3 );

更新日志:

1.0.3 1.0.2 1.0.0