Caldera Labs banner with Catdera mascot

This filter allows you to modify the data used to parse magic tags that are parsed using a class that extends the Caldera_Forms_Magic_Parser class. This applies to the summary magic tag.

This filter exposes two parameters:

  • $data This is an array of data used to parse the magic tag.
    • This should be be organized with keys being a field’s ID and values being field values.
  • $form This the field config as array

This filter was added in Caldera Forms 1.5.2

Where Does This Code Go?

When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.

Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.

Learn More