Change message
add_filter( ‘frm_global_failed_msg’, ‘change_failed_message’ ); function change_failed_message( $message ) { $message = ‘place new message here’; return $message; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘frm_global_failed_msg’, ‘change_failed_message’ ); function change_failed_message( $message ) { $message = ‘place new message here’; return $message; }Continue reading
add_filter( ‘frm_export_content’, ‘replace_ampersand’ ); function replace_ampersand( $content ) { $content = str_replace( ‘amp;’, ‘ ‘, $content ); return $content; }Continue reading
add_filter( ‘frm_export_content’, ‘change_exported_cell’ ); function change_exported_cell( $content ) { $content = str_replace( ‘View more’, ‘ ‘, $content ); return $content; }Continue reading
add_filter( ‘frm_global_login_msg’, ‘change_message’ ); function change_message( $message ) { $message = ‘place new message here’; return $message; }Continue reading
add_filter(‘frm_user_id_display’, ‘frm_show_user_last_name’); function frm_show_user_last_name() { return ‘last_name’; }Continue reading
add_filter( ‘frm_field_value_saved’, ‘my_custom_function’, 10, 3 ); function my_custom_function( $option_name, $opt_key, $field ) { if ( $field[‘id’] == 11375 ) { // Change 11375 to the ID of your radio button /checkbox $date = date( ‘l’ ); if ( $date ===…Continue reading
add_filter(‘frm_form_error_class’, ‘frm_add_error_class’, 10, 1); function frm_add_error_class($class){ $class .= ‘ my_form_error_class’; return $class; }Continue reading
add_filter(‘frm_success_filter’, ‘force_change_success_message’, 10, 2); function force_change_success_message( $type, $form ) { if ( $form->id == 5 && isset( $_POST ) && isset( $_POST[‘frm_action’] )) { //change 5 to the ID of your form $type = ‘message’; $form->options[‘success_msg’] = “The form has…Continue reading
add_filter( ‘frmpro_fields_replace_shortcodes’, ‘frm_show_list’, 10, 4 ); function frm_show_list( $replace_with, $tag, $atts, $field ) { if ( ! isset( $atts[‘show_list’] ) ) { return $replace_with; } $sep = isset( $atts[‘sep’] ) ? $atts[‘sep’] : ‘<br>’; return str_replace( ‘, ‘, $sep, $replace_with…Continue reading
add_filter( ‘frm_filter_final_form’, ‘change_edit_label’ ); function change_edit_label( $form ){ $form = str_replace( ‘Edit’, ‘Revise’, $form ); return $form; }Continue reading