Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of using the caldera_forms_summary_magic_fields filter to prevent a specific field from showing in Caldera Forms emails using summary magic tags https://calderaforms.com/doc/caldera_forms_summary_magic_fields/
<?php
/**
* Prevent a specific field from showing in Caldera Forms emails using summary magic tags
*/
add_filter( 'caldera_forms_summary_magic_fields', function( $fields, $form ) {
//change your field ID
if( isset( $fields[ 'fld1243567'] ) ){
unset( $fields[ 'fld1243567' ] );
}
return $fields;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.