• Thanks for including the FAQ of How do I modify the output of all-fields shortcode?

    For those who are not as adept at coding as the plugin author, can you please provide an example of the code you would use, and how to include it (in our functions.php file?)

    The FAQ simply states:

    = 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”

  • The topic ‘Example please of Modify the output of `all-fields` shortcode?’ is closed to new replies.