contact-form-7
Last commit date
admin
5 years ago
images
6 years ago
includes
5 years ago
languages
9 years ago
modules
5 years ago
license.txt
6 years ago
readme.txt
5 years ago
settings.php
5 years ago
uninstall.php
9 years ago
wp-contact-form-7.php
5 years ago
wp-contact-form-7.php
68 lines
| 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.2.2 |
| 11 | */ |
| 12 | |
| 13 | define( 'WPCF7_VERSION', '5.2.2' ); |
| 14 | |
| 15 | define( 'WPCF7_REQUIRED_WP_VERSION', '5.3' ); |
| 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 | |
| 31 | if ( ! defined( 'WPCF7_LOAD_CSS' ) ) { |
| 32 | define( 'WPCF7_LOAD_CSS', true ); |
| 33 | } |
| 34 | |
| 35 | if ( ! defined( 'WPCF7_AUTOP' ) ) { |
| 36 | define( 'WPCF7_AUTOP', true ); |
| 37 | } |
| 38 | |
| 39 | if ( ! defined( 'WPCF7_USE_PIPE' ) ) { |
| 40 | define( 'WPCF7_USE_PIPE', true ); |
| 41 | } |
| 42 | |
| 43 | if ( ! defined( 'WPCF7_ADMIN_READ_CAPABILITY' ) ) { |
| 44 | define( 'WPCF7_ADMIN_READ_CAPABILITY', 'edit_posts' ); |
| 45 | } |
| 46 | |
| 47 | if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) ) { |
| 48 | define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'publish_pages' ); |
| 49 | } |
| 50 | |
| 51 | if ( ! defined( 'WPCF7_VERIFY_NONCE' ) ) { |
| 52 | define( 'WPCF7_VERIFY_NONCE', false ); |
| 53 | } |
| 54 | |
| 55 | if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) { |
| 56 | define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false ); |
| 57 | } |
| 58 | |
| 59 | if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) { |
| 60 | define( 'WPCF7_VALIDATE_CONFIGURATION', true ); |
| 61 | } |
| 62 | |
| 63 | // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead. |
| 64 | define( 'WPCF7_PLUGIN_URL', |
| 65 | untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) ); |
| 66 | |
| 67 | require_once WPCF7_PLUGIN_DIR . '/settings.php'; |
| 68 |