Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

CF7 Email Domain Filter

The CF7 Email Domain Filter plugin is an add-on for Contact Form 7

With the CF7 Email Domain Filter you can limit the which email domains you want a response from.

space-1.jpg
btw, per at mail.com isn't my email address

Installation

a) As a plugin

  1. Fork the repo
  2. Edit cf7-email-domain-filter.php and change the $email_filter_domains array.
  3. Uppload the changed repo to wp-content/plugins

b) In your (child) theme

  1. Copy everything below namespace Soderlind\CF7\Email\Filter; and save it in your (child) theme functions.php
  2. Change the $email_filter_domains array.

Usage

Add class domainfilter to the email tag, eg: [email your-email class:domainfilter]

Roadmap

  • 0.0.1 Front-end validation (can be bypassed)
  • 0.0.2 Back-end validation
  • 0.0.3 Admin / settings page

Credits

Awesomplete is Copyright (c) 2015 Lea Verou

Copyright and License

CF7 Email Domain Filter is copyright 2018 Per Soderlind

CF7 Email Domain Filter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

CF7 Email Domain Filter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.

About

CF7 Email Domain Filter is an add-on to Contact Form 7

Resources

Releases

No releases published

Packages

No packages published

Languages