/wp-contact-form-7.php

  1. <?php 
  2. /** 
  3. Plugin Name: Contact Form 7 
  4. Plugin URI: https://contactform7.com/ 
  5. Description: Just another contact form plugin. Simple but flexible. 
  6. Author: Takayuki Miyoshi 
  7. Author URI: http://ideasilo.wordpress.com/ 
  8. Text Domain: contact-form-7 
  9. Domain Path: /languages/ 
  10. Version: 4.7 
  11. */ 
  12.  
  13. define( 'WPCF7_VERSION', '4.7' ); 
  14.  
  15. define( 'WPCF7_REQUIRED_WP_VERSION', '4.6' ); 
  16.  
  17. define( 'WPCF7_PLUGIN', __FILE__ ); 
  18.  
  19. define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( WPCF7_PLUGIN ) ); 
  20.  
  21. define( 'WPCF7_PLUGIN_NAME', trim( dirname( WPCF7_PLUGIN_BASENAME ), '/' ) ); 
  22.  
  23. define( 'WPCF7_PLUGIN_DIR', untrailingslashit( dirname( WPCF7_PLUGIN ) ) ); 
  24.  
  25. define( 'WPCF7_PLUGIN_MODULES_DIR', WPCF7_PLUGIN_DIR . '/modules' ); 
  26.  
  27. if ( ! defined( 'WPCF7_LOAD_JS' ) ) { 
  28. define( 'WPCF7_LOAD_JS', true ); 
  29.  
  30. if ( ! defined( 'WPCF7_LOAD_CSS' ) ) { 
  31. define( 'WPCF7_LOAD_CSS', true ); 
  32.  
  33. if ( ! defined( 'WPCF7_AUTOP' ) ) { 
  34. define( 'WPCF7_AUTOP', true ); 
  35.  
  36. if ( ! defined( 'WPCF7_USE_PIPE' ) ) { 
  37. define( 'WPCF7_USE_PIPE', true ); 
  38.  
  39. if ( ! defined( 'WPCF7_ADMIN_READ_CAPABILITY' ) ) { 
  40. define( 'WPCF7_ADMIN_READ_CAPABILITY', 'edit_posts' ); 
  41.  
  42. if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) ) { 
  43. define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'publish_pages' ); 
  44.  
  45. if ( ! defined( 'WPCF7_VERIFY_NONCE' ) ) { 
  46. define( 'WPCF7_VERIFY_NONCE', true ); 
  47.  
  48. if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) { 
  49. define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false ); 
  50.  
  51. if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) { 
  52. define( 'WPCF7_VALIDATE_CONFIGURATION', true ); 
  53.  
  54. // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead. 
  55. define( 'WPCF7_PLUGIN_URL', untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) ); 
  56.  
  57. require_once WPCF7_PLUGIN_DIR . '/settings.php'; 
.