Add custom form key separator
add_filter( ‘frm_unique_form_key_separator’, ‘use_custom_form_key_separator’ ); function use_custom_form_key_separator() { return ‘___’; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘frm_unique_form_key_separator’, ‘use_custom_form_key_separator’ ); function use_custom_form_key_separator() { return ‘___’; }Continue reading
add_filter(‘frm_email_control_settings’, function( $options ) { $options[‘limit’] = 200; // Change 200 to your limit return $options; } ); add_filter(‘frm_form_action_limit’, function( $limit ) { return 200; //Change 200 to your limit } );Continue reading
add_filter(‘frm_validate_field_entry’, ‘add_alt_text_form_images’, 10, 4); function add_alt_text_form_images($errors, $posted_field, $posted_value, $args){ if ( $posted_field->id == 14548 ) { // Change 14548 with the ID of your repeater field $image_field_id=14550; // Change 5844 to the ID of the file upload field $alt_text_field_id=14551; //…Continue reading
add_filter(‘frm_time_to_check_duplicates’, ‘change_duplicate_time_limit_every_form’); function change_duplicate_time_limit_every_form() { return 31536000; }Continue reading
add_filter( ‘frm_reg_password_strength_check’, ‘__return_false’ );Continue reading
add_filter( ‘frm_currencies’, ‘remove_euro_symbol_padding’ ); function remove_euro_symbol_padding( $currencies ) { $currencies[‘EUR’][‘symbol_padding’] = ”; return $currencies; }Continue reading
add_filter( ‘frm_reg_login_limit_feature_activated’, ‘__return_true’ );Continue reading
add_filter( ‘frm_reg_login_limit_feature_activated’, ‘__return_false’ );Continue reading
add_filter(‘frm_formatted_entry_values_content’, ‘show_field_name_in_api_result’, 10, 2); function show_field_name_in_api_result( $content, $args ) { $entry_id = 58191; // change 58191 to your entry ID if ( $entry_id !== (int) $args[‘entry’]->id || ! is_array( $content ) || ‘array’ !== $args[‘format’] ) { return $content; }…Continue reading
add_action( ‘frmapi_post_response’, ‘frm_get_api_response’, 10, 3 ); function frm_get_api_response( $response, $entry, $form_action ) { $status = wp_remote_retrieve_response_code( $response ); if ( $status == 200 ) { add_filter(‘frm_main_feedback’, ‘frm_add_200_to_message’ ); } else { add_filter(‘frm_main_feedback’, ‘frm_add_500_to_message’ ); } } function frm_add_200_to_message( $message )…Continue reading