WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Contact Form 7 Modules

Contact Form 7 - Add useful modules such as hidden fields and "send all fields" to the Contact Form 7 plugin

How do I turn off formatting the key in the `[all-fields]` output?

Add the following to your theme's functions.php file:

add_filter('wpcf7_send_all_fields_format_key', '__return_false');

How do I set non-standard user data as hidden field values?

Starting with Version 1.4, you can access user data, including meta data.

You need to set the default value as: user-{meta_key} where {meta_key} is the key of the meta field you want the value of.

To get the values of WordPress default profile fields, for example, you would use:

  • user-aim - AOL
  • user-jabber - Jabber / Google Talk
  • user-description - Biographical description

What is the plugin license?

  • This plugin is released under a GPL license.

Is the plugin available in other languages?

Not yet, so help translate the plugin!

How do I send empty values with the `[all-fields]` shortcode?

Add this to your functions.php file: add_filter('wpcf7_send_all_fields_send_empty_fields', '__return_true');

How do I modify the output of the `[all-fields]` shortcode?

  • wpcf7_send_all_fields_format_before - Before the loop of fields (<dl> for HTML output)
    • $value string Previous output
    • $format string Either "html" or "text"
  • wpcf7_send_all_fields_format_item - Change each item output. Passes four arguments:
    • $value string Previous output
    • $k string Field label
    • $v string Value of the field
    • $format string Either "html" or "text"
  • wpcf7_send_all_fields_format_after - After the loop of fields (</dl> for HTML output). Passes two arguments:
    • $value string Previous output
    • $format string Either "html" or "text"

Requires: 2.8 or higher
Compatible up to: 3.8.3
Last Updated: 2014-3-25
Downloads: 117,085

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
1 person says it's broken.

100,4,4 100,1,1
100,1,1
0,1,0
100,3,3
100,1,1
100,1,1
100,2,2 100,1,1
100,4,4
0,2,0
100,1,1 67,3,2
100,2,2 100,1,1
100,2,2 100,4,4
100,1,1
100,1,1
100,1,1
0,2,0
0,7,0
100,1,1
0,1,0
50,2,1