cf7-conditional-fields
Last commit date
js
5 years ago
Wpcf7cfMailParser.php
6 years ago
admin-style.css
6 years ago
admin-style.css.map
6 years ago
admin-style.scss
6 years ago
admin.php
6 years ago
cf7cf.php
5 years ago
contact-form-7-conditional-fields.php
5 years ago
init.php
5 years ago
readme.txt
5 years ago
style.css
6 years ago
tg_pane_group.php
6 years ago
wpcf7cf-options.php
6 years ago
contact-form-7-conditional-fields.php
42 lines
| 1 | <?php |
| 2 | /** |
| 3 | Plugin Name: Contact Form 7 Conditional Fields |
| 4 | Plugin URI: http://bdwm.be/ |
| 5 | Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7. |
| 6 | Author: Jules Colle |
| 7 | Version: 1.9.9 |
| 8 | Author URI: http://bdwm.be/ |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation; either version 2 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program; if not, write to the Free Software |
| 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 25 | */ |
| 26 | |
| 27 | |
| 28 | if ( function_exists( 'wpcf7cf_pro_deactivate_free_version_notice' ) ) { |
| 29 | add_action( 'admin_notices', 'wpcf7cf_pro_deactivate_free_version_notice' ); |
| 30 | } else { |
| 31 | |
| 32 | function wpcf7cf_pro_deactivate_free_version_notice() { |
| 33 | ?> |
| 34 | <div class="notice notice-error is-dismissible"> |
| 35 | <p><?php echo sprintf( __( '<strong>Contact Form 7 - Conditional Fields PRO</strong> needs to %sdeactivate the free plugin%s', 'wpcf7cf' ), '<a href="' . wp_nonce_url( 'plugins.php?action=deactivate&plugin=cf7-conditional-fields%2Fcontact-form-7-conditional-fields.php&plugin_status=all&paged=1&s=', 'deactivate-plugin_cf7-conditional-fields/contact-form-7-conditional-fields.php' ) . '">', '</a>' ); ?></p> |
| 36 | </div> |
| 37 | <?php |
| 38 | } |
| 39 | |
| 40 | require_once __DIR__.'/init.php'; |
| 41 | |
| 42 | } |