Save entry without authoring user ID

add_filter(‘frm_pre_create_entry’, ‘save_entry_without_userID’); function save_entry_without_userID( $values ) { $target_form_id = 239; //Replace 239 with your form ID if ( $target_form_id === (int) $values[‘form_id’] ) { $values[‘frm_user_id’] = 0; } return $values; }Continue reading

Add US Bank Account

add_filter(‘frm_stripe_payment_method_types’, ‘add_us_bank_account’); function add_us_bank_account( $payment_method_types ) { $payment_method_types = array( ‘card’, ‘link’, ‘us_bank_account’ ); return $payment_method_types; }Continue reading

Add Euro payments

add_filter(‘frm_stripe_payment_method_types’, ‘add_sofort_ideal_bancontact’); function add_sofort_ideal_bancontact( $payment_method_types ) { $payment_method_types = array( ‘sofort’, ‘ideal’, ‘bancontact’ ); return $payment_method_types; }Continue reading

Add WeChat Pay

add_filter(‘frm_stripe_payment_method_types’, ‘add_wechat_pay’, 10, 2); function add_wechat_pay( $payment_method_types, $args ) { $form_id = $args[‘form_id’]; $target_form_id = 5; // Change 5 to the ID of your form if ( $target_form_id === $form_id ) { $payment_method_types[] = ‘wechat_pay’; } return $payment_method_types; }Continue reading

Add form HTML in Outcome Quiz

add_filter(‘frm_main_feedback’, ‘add_form_outcome_quiz’ , 11, 3); function add_form_quiz_result( $message, $form, $entry_id ) { $target_form_id = 435; //Replace 435 with the ID of the form with the outcome quiz if ( $target_form_id !== (int) $form->id ) { return $message; } $form_id_by_result =…Continue reading

Change cron job

add_filter(‘frm_mark_abandonment_entries_period’, ‘change_cron_job’); function change_cron_job() { return 2; //This is 1 by default and it would increase to 2 by utilizing this hook. }Continue reading

Exclude fields from abandonment

add_filter(‘frm_abandonment_exclude_field_types’, ‘frm_abandonment_exclude_field_types’); function frm_abandonment_exclude_field_types($excluded_fields){ return array_merge($excluded_fields, array(‘number’));// This will exclude number field besides default password field. }Continue reading

Show results that begin with search query

add_filter(‘frm_chosen_js’, ‘chosen_js’); function chosen_js( $opts ) { $opts = array( ‘allow_single_deselect’ => true, ‘no_results_text’ => __( ‘No results match’, ‘formidable’ ), ‘search_contains’ => false, ); return $opts; }Continue reading

Change the CSS location

add_filter(‘get_frm_stylesheet’,’frm_stylesheet_change_loc’); function frm_stylesheet_change_loc( $sheet ) { $sheet[‘formidable’] = home_url() . ‘/something.css’; //Replace something.css return $sheet; } //When we want to save the $css option when saving the style, we can hook in there too to generate the file. add_action(‘update_option_frmpro_css’,’save_css_string’); function…Continue reading