Skip to content

gedex/wp-slack-contact-form-7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Contact Form 7

Send notifications to Slack channels whenever someone sent message through Contact Form 7.

Contributors: akeda
Tags: slack, api, chat, notification, contact, form, cf7, contact-form-7
Requires at least: 4.4
Tested up to: 4.7
Stable tag: 0.2.0
License: GPLv2 or later
Donate link: http://goo.gl/DELyuR

Description

This plugin is an extension to Slack plugin that allows you to send notifications to Slack channels whenever someone sent message through Contact Form 7.

The new event will be shown on integration setting with text When someone sent message through Contact Form 7. If checked then notification will be delivered after Contact Form 7 sent the message through email.

You can alter the message with slack_wpcf7_submit_message filter. The filter receives following parameters (ordered by position):

  • $message — Default message to send to Slack
  • $form — Form object
  • $result — Array of result

Development of this plugin is done on GitHub. Pull requests are always welcome.

Installation

  1. You need to install and activate both Contact Form 7 and Slack plugins first.
  2. Then upload Slack Contact Form 7 plugin to your blog's wp-content/plugins/ directory and activate.
  3. You will see new event type with text When someone sent message through Contact Form 7 in integration setting. If checked then notification will be delivered after Contact Form 7 sent the message through email.

Screenshots

Event option in integration setting

Event option in integration setting

Your channel get notified when someone sent message through your Contact Form 7

Your channel get notified when someone sent message through your Contact Form 7

Changelog

0.2.0

  • Fix message is not being sent to Slack caused by changes in wpcf7_submit result arg.

0.1.0

  • Initial release

About

Send notifications to Slack channels whenever someone sent message through Contact Form 7.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages