Skip to content

Instantly share code, notes, and snippets.

@2ndkauboy
Last active December 20, 2015 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2ndkauboy/6123099 to your computer and use it in GitHub Desktop.
Save 2ndkauboy/6123099 to your computer and use it in GitHub Desktop.
Deactivate the JS functionality of Contact Form 7
<?php
/*
Plugin Name: AJAX Deactivation for Contact Form 7
Plugin URI: https://gist.github.com/2ndkauboy/6123099
Description: Deactivate the JS functionality of Contact Form 7
Version: 0.1
Author: Bernhard Kau
Author URI: http://kau-boys.de
*/
define( 'WPCF7_LOAD_JS', false );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment