wp-contact-form-7.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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: https://ideasilo.wordpress.com/
  8. Text Domain: contact-form-7
  9. Domain Path: /languages/
  10. Version: 5.1.6
  11. */
  12. define( 'WPCF7_VERSION', '5.1.6' );
  13. define( 'WPCF7_REQUIRED_WP_VERSION', '4.9' );
  14. define( 'WPCF7_PLUGIN', __FILE__ );
  15. define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( WPCF7_PLUGIN ) );
  16. define( 'WPCF7_PLUGIN_NAME', trim( dirname( WPCF7_PLUGIN_BASENAME ), '/' ) );
  17. define( 'WPCF7_PLUGIN_DIR', untrailingslashit( dirname( WPCF7_PLUGIN ) ) );
  18. define( 'WPCF7_PLUGIN_MODULES_DIR', WPCF7_PLUGIN_DIR . '/modules' );
  19. if ( ! defined( 'WPCF7_LOAD_JS' ) ) {
  20. define( 'WPCF7_LOAD_JS', true );
  21. }
  22. if ( ! defined( 'WPCF7_LOAD_CSS' ) ) {
  23. define( 'WPCF7_LOAD_CSS', true );
  24. }
  25. if ( ! defined( 'WPCF7_AUTOP' ) ) {
  26. define( 'WPCF7_AUTOP', true );
  27. }
  28. if ( ! defined( 'WPCF7_USE_PIPE' ) ) {
  29. define( 'WPCF7_USE_PIPE', true );
  30. }
  31. if ( ! defined( 'WPCF7_ADMIN_READ_CAPABILITY' ) ) {
  32. define( 'WPCF7_ADMIN_READ_CAPABILITY', 'edit_posts' );
  33. }
  34. if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) ) {
  35. define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'publish_pages' );
  36. }
  37. if ( ! defined( 'WPCF7_VERIFY_NONCE' ) ) {
  38. define( 'WPCF7_VERIFY_NONCE', false );
  39. }
  40. if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) {
  41. define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false );
  42. }
  43. if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) {
  44. define( 'WPCF7_VALIDATE_CONFIGURATION', true );
  45. }
  46. // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead.
  47. define( 'WPCF7_PLUGIN_URL',
  48. untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) );
  49. require_once WPCF7_PLUGIN_DIR . '/settings.php';