Disable rich text email for specific action

add_filter( ‘frm_rich_text_emails’, ‘disable_rich_text_email_for_specific_action’, 10, 2 ); function disable_rich_text_email_for_specific_action( $rich_text_emails, $args ) { $target_action_id = 2381; //Replace 2381 with your email action ID if ( $target_action_id === $args[‘form_action’]->ID ) { $rich_text_emails = false; } return $rich_text_emails; }Continue reading

Disable rich text email for specific form

add_filter( ‘frm_rich_text_emails’, ‘disable_rich_text_email_for_specific_form’, 10, 2); function disable_rich_text_email_for_specific_form( $rich_text_emails, $args ) { $target_form_id = 338; //Replace 338 with your form ID if ( $target_form_id === (int) $args[‘form’]->id ) { $rich_text_emails = false; } return $rich_text_emails; }Continue reading

Change Outcome Quiz image border radius for one form

add_filter(‘frm_quiz_outcome_image_border_radius’, ‘change_quiz_outcome_image_border_radius_form’, 10, 2); function change_quiz_outcome_image_border_radius_form( $border_radius, $args ) { $target_form_id = 267; //Change 267 to the ID of your form if ( $target_form_id === $args[‘form_id’] ) { $border_radius = ‘100px’; //change 100px } return $border_radius; }Continue reading

Change Outcome Quiz image border radius for a field

add_filter(‘frm_quiz_outcome_image_border_radius’, ‘change_quiz_outcome_image_border_radius_field’, 10, 2); function change_quiz_outcome_image_border_radius_field( $border_radius, $args ) { $target_outcome_id = 1168; //Change 1168 to the ID of your Outcome Quiz field if ( $target_outcome_id === $args[‘outcome’]->ID ) { $border_radius = ‘100px’; //change 100px } return $border_radius; }Continue reading

Rename Name fields on export

add_filter( ‘frm_csv_columns’, ‘change_column_name’, 10, 2 ); function change_column_name( $headings, $form_id ) { $name_field_id = 2248; //Replace 1152 with your Name field ID $headings[ $name_field_id . ‘_first’ ] = ‘First name column’; $headings[ $name_field_id . ‘_last’ ] = ‘Last name column’;…Continue reading

Allow ampersands in redirect URL

add_filter( ‘frm_redirect_url’, ‘replace_encoded_ampersand’, 10, 2 ); function replace_encoded_ampersand( $url, $form ) { $target_form_id = 727; // Change 727 to your form ID. if ( $target_form_id === (int) $form->id ) { $url = str_replace( ‘&’, ‘&’, $url ); } return $url;…Continue reading

Change the IP address of child entry

add_filter(‘frm_acf_repeater_child_entry_data’,’acf_change_ip_child_entry’, 10, 2); function acf_change_ip_child_entry( $entry_data, $args ) { if ( 10 == $args[‘parent_entry’]->id ) { $entry_data[‘ip’] = ‘127.0.0.1’; } return $entry_data; }Continue reading