redirect-for-contact-form-7 WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
An add-on plugin for contact form 7 which redirects to the specific URL
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/tarosky/redirect-for-contact-form-7/releases/download/0.3.0/redirect-for-contact-form-7.zipAn add-on plugin for the Contact Form 7 which redirect to the specific URL.
Requires
- WordPress 4.8 or later
- Contact Form 7 5.0 or later
- PHP 7.0 or later
Usage
[contact-form-7 id="4" title="Contact form 1" goto="http://wp.test/archives/1"]
Customizing
If you set the default URL to redirect via filter function, goto argument can be omitted.
add_filter( 'redirect_for_contact_form_7_default_url', function() {
return home_url( 'path/to/page' );
} );
Running automated testing
$ export WP_PLUGIN=https://downloads.wordpress.org/plugin/contact-form-7.4.9.zip
$ bash bin/install-wp-tests.sh <db-name> <db-user> <db-pass> [db-host] [wp-version]
$ bash bin/install-plugin.sh
$ phpunit
If you want to run tests with the specific version of the Contact Form 7, please change the value of $WP_PLUGIN.
How to release new version
If you push a tag, new version will be released automatically by Travis CI.
$ git tag x.x.x
$ git push origin master
See releases. https://github.com/tarosky/redirect-for-contact-form-7/releases
Releases
6 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.