Linux 软件免费装

Hidden Field for Contact Form 7

开发者 Hube2
更新时间 2018年7月27日 21:47
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 4.9
版权: GPLv2 or later
版权网址: 版权信息

标签

adopt-me contact form 7 simeple hidden field

下载

1.1.1 1.0.0 1.1.0 1.1.3 1.2.0 1.2.1 2.0.0 2.0.1 2.02

详情介绍:

Addopt this plugin. Please see details on Github. Create simple hidden fields and dynamically generated hidden fields with Conact Form 7 Simple Hidden fields are just that, simple hidden fields *** New Dynamic Hidden Fields *** How to create dynamic hidden fields
  1. Create a filter to be called from your CF7 Dynamic Select Field.
Example Filter: function cf7_dynamic_hidden_do_example1($value, $args=array()) { $value = 'new value'; return $value; } // end function cf7_dynamic_select_do_example1 add_filter('wpcf7_dynamic_hidden_example1', 'cf7_dynamic_hidden_do_example1', 10, 2);
  1. Enter the filter name and any arguments into the Filter Field when adding a Dynamic Hidden Field. For example, if we need to supply a post_id so that the filter can get the post title filter value entered would look something like this:
my-filter post_id=9 Do Not Include any extra spaces or quotes arround values, names or the = You can pass any number are arguments to your filter and they will be converted into an array. For example the following: my-filter post_id=101 author_id=2 This will call the function assocaited with the filter hook 'my-filter' with an arguments the argument array of: $args = array( 'post_id' => 101, 'author_id' => 2 ) If the filter does not exist or your filter does not return a value then the value of the hidden field will be left empty. Also on GitHub

安装:

  1. Upload the files to the plugin folder of your site
  2. Activate it from the Plugins Page

更新日志:

2.0.2 2.0.1 2.0.0 1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0