contact-form-7
Last commit date
admin
6 months ago
assets
5 years ago
includes
2 weeks ago
languages
9 years ago
modules
6 months ago
license.txt
7 months ago
load.php
11 months ago
readme.txt
2 weeks ago
uninstall.php
11 months ago
wp-contact-form-7.php
2 weeks ago
wp-contact-form-7.php
73 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: Rock Lobster Inc. |
| 7 | * Author URI: https://github.com/rocklobster-in/ |
| 8 | * License: GPL v2 or later |
| 9 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 10 | * Version: 6.1.6 |
| 11 | * Requires at least: 6.7 |
| 12 | * Requires PHP: 7.4 |
| 13 | */ |
| 14 | |
| 15 | define( 'WPCF7_VERSION', '6.1.6' ); |
| 16 | |
| 17 | define( 'WPCF7_REQUIRED_WP_VERSION', '6.7' ); |
| 18 | |
| 19 | define( 'WPCF7_TEXT_DOMAIN', 'contact-form-7' ); |
| 20 | |
| 21 | define( 'WPCF7_PLUGIN', __FILE__ ); |
| 22 | |
| 23 | define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( WPCF7_PLUGIN ) ); |
| 24 | |
| 25 | define( 'WPCF7_PLUGIN_NAME', trim( dirname( WPCF7_PLUGIN_BASENAME ), '/' ) ); |
| 26 | |
| 27 | define( 'WPCF7_PLUGIN_DIR', untrailingslashit( dirname( WPCF7_PLUGIN ) ) ); |
| 28 | |
| 29 | define( 'WPCF7_PLUGIN_MODULES_DIR', WPCF7_PLUGIN_DIR . '/modules' ); |
| 30 | |
| 31 | if ( ! defined( 'WPCF7_LOAD_JS' ) ) { |
| 32 | define( 'WPCF7_LOAD_JS', true ); |
| 33 | } |
| 34 | |
| 35 | if ( ! defined( 'WPCF7_LOAD_CSS' ) ) { |
| 36 | define( 'WPCF7_LOAD_CSS', true ); |
| 37 | } |
| 38 | |
| 39 | if ( ! defined( 'WPCF7_AUTOP' ) ) { |
| 40 | define( 'WPCF7_AUTOP', true ); |
| 41 | } |
| 42 | |
| 43 | if ( ! defined( 'WPCF7_USE_PIPE' ) ) { |
| 44 | define( 'WPCF7_USE_PIPE', true ); |
| 45 | } |
| 46 | |
| 47 | if ( ! defined( 'WPCF7_ADMIN_READ_CAPABILITY' ) ) { |
| 48 | define( 'WPCF7_ADMIN_READ_CAPABILITY', 'edit_posts' ); |
| 49 | } |
| 50 | |
| 51 | if ( ! defined( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY' ) ) { |
| 52 | define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'publish_pages' ); |
| 53 | } |
| 54 | |
| 55 | if ( ! defined( 'WPCF7_VERIFY_NONCE' ) ) { |
| 56 | define( 'WPCF7_VERIFY_NONCE', false ); |
| 57 | } |
| 58 | |
| 59 | if ( ! defined( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA' ) ) { |
| 60 | define( 'WPCF7_USE_REALLY_SIMPLE_CAPTCHA', false ); |
| 61 | } |
| 62 | |
| 63 | if ( ! defined( 'WPCF7_VALIDATE_CONFIGURATION' ) ) { |
| 64 | define( 'WPCF7_VALIDATE_CONFIGURATION', true ); |
| 65 | } |
| 66 | |
| 67 | // Deprecated, not used in the plugin core. Use wpcf7_plugin_url() instead. |
| 68 | define( 'WPCF7_PLUGIN_URL', |
| 69 | untrailingslashit( plugins_url( '', WPCF7_PLUGIN ) ) |
| 70 | ); |
| 71 | |
| 72 | require_once WPCF7_PLUGIN_DIR . '/load.php'; |
| 73 |