Plugin Directory

Changeset 1681486


Ignore:
Timestamp:
06/19/2017 08:49:32 PM (9 years ago)
Author:
toronetil
Message:

Support for contact form 7 version 4.8

Location:
select-options-from-database-for-contact-form-7
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • select-options-from-database-for-contact-form-7/trunk/readme.txt

    r1664390 r1681486  
    44Requires at least: 4.0
    55Tested up to: 4.2.2
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 This plugin provides new tag type for the Contact Form 7 Plugin : Select options from database. 
     14This plugin provides new tag type for the Contact Form 7 Plugin : Select options from database.
    1515You can select any field from your database and let the visitors choose value for you.
    1616You can use it to send each contact form to any user in your site.
     
    1818You can chose which value to show and which to send via email.
    1919
    20 [Read More](http://dynamicplugin.com/select-options-field-in-wordpress-contact-form-7/ "Read More") 
     20[Read More](http://dynamicplugin.com/select-options-field-in-wordpress-contact-form-7/ "Read More")
    2121
    2222= How to use it =
     
    4646== Changelog ==
    4747
     48= 1.2 =
     49Support for contact form 7 version 4.8
     50
    4851= 1.1 =
    4952Added filter results by one word
  • select-options-from-database-for-contact-form-7/trunk/select_options_from_db_for_cf7.php

    r1664390 r1681486  
    55Plugin URI: https://wordpress.org/plugins/select-options-from-database-for-contact-form-7/
    66Description: Extend contact form 7 with new tag type : select options from database. Any column in your database can be a source to this select options element.
    7 Version: 1.1
     7Version: 1.2
    88Author: Dynamic Plugin
    99Author URI: http://dynamicplugin.com/
     
    6363
    6464function cf7dfe_init(){
    65     if(function_exists('wpcf7_add_shortcode')){
    66         /* Shortcode handler */     
    67         wpcf7_add_shortcode( 'dbactext', 'cf7dfe_shortcode_handler', true );
    68         wpcf7_add_shortcode( 'dbactext*', 'cf7dfe_shortcode_handler', true );
     65    if(function_exists('wpcf7_add_form_tag')){
     66        /* Shortcode handler */
     67        wpcf7_add_form_tag( 'dbactext', 'cf7dfe_shortcode_handler', true );
     68        wpcf7_add_form_tag( 'dbactext*', 'cf7dfe_shortcode_handler', true );
    6969   
    7070    }
     
    8282
    8383    if ( ! is_array( $tag ) )
    84         return '';
     84        //return '';
    8585
    8686    $type = $tag['type'];
Note: See TracChangeset for help on using the changeset viewer.