Change priority order
add_filter(‘frm_api_action_options’, ‘change_priority_order’) function change_priority_order( $options ) { $options[‘priority’] = 50; return $options; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter(‘frm_api_action_options’, ‘change_priority_order’) function change_priority_order( $options ) { $options[‘priority’] = 50; return $options; }Continue reading
add_filter( ‘frm_export_csv_line_break’, ‘change_csv_line_break’); function change_csv_line_break( $line_break ) { return ‘|’; }Continue reading
add_filter( ‘frm_graph_id’ , ‘change_graph_id’ ); function change_graph_id( $id ) { if ( ‘_frm_column1’ === $id ) { return ‘first_column_graph’; } return $id; }Continue reading
add_filter(‘frm_graph_data’, ‘frm_compare_average_graph’, 10, 2); function frm_compare_average_graph( $data, $atts ) { if ( ! isset( $atts[‘title’] ) || $atts[‘title’] !== ‘Score comparison’ ) { // Change ‘Score comparison’ to the title of your graph. return $data; } $data[0][1] = ‘Your score’;…Continue reading
add_filter( ‘frm_export_view_risky_characters’, ‘remove_risky_characters’ ); function remove_risky_characters( $characters ) { return array( ‘=’, ‘@’ ); }Continue reading
add_filter( ‘frm_graph_data’, ‘frm_stats_graph’, 10, 2 ); function frm_stats_graph( $data, $atts ) { if ( isset( $atts[‘title’] ) && $atts[‘title’] == ‘gas’ ) { $data[0][1] = “Gas (in gallons)”; for ( $i = 1, $l = count( $data ); $l >…Continue reading
add_filter( ‘frm_xml_filename’, ‘change_xml_download_filename’ ); function change_xml_download_filename() { return ‘formidable-xml-export.xml’; }Continue reading
add_filter( ‘frmreg_show_meta_on_profile’, ‘__return_false’ );Continue reading
add_filter( ‘frmreg_show_meta_on_profile’, ‘hide_meta_for_specific_user’, 10, 2 ); function hide_meta_for_specific_user( $show, $user_profile ) { $target_user_id = 43; // Replace 43 with the ID of the User ID field. if ( $user_profile instanceof WP_User && $target_user_id === $user_profile->ID ) { $show = false;…Continue reading
add_filter(‘frm_reg_login_limit_exceeded_error_message’, ‘change_login_limit_message’); function change_login_limit_message( $message ) { if ( $message ) { $message = ‘You have been locked out for having too many failed login attempts’; } return $message; }Continue reading