Basic example
add_filter( ‘frm_include_dropzone_in_minified_js’, ‘__return_false’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘frm_include_dropzone_in_minified_js’, ‘__return_false’ );Continue reading
add_filter( ‘frm_order_lookup_options’, ‘order_lookup_date_options’ ); function order_lookup_date_options( $options ) { usort( $options, ‘date_sort’ ); return $options; } function date_sort($a, $b) { return strtotime($a) – strtotime($b); }Continue reading
add_filter( ‘frm_reg_login_limit_feature_activated’, ‘__return_false’ );Continue reading
add_filter( ‘frm_global_login_msg’, ‘custom_global_login_message’ ); function custom_global_login_message( $message ) { $frm_settings = FrmAppHelper::get_settings(); $frm_login_msg = $frm_settings->login_msg; if ( substr_count( $frm_login_msg, ‘*’ ) == 2 ) { $frm_login_msg_array = explode( “*”, $frm_login_msg ); $current_url = home_url( add_query_arg( [], $GLOBALS[‘wp’]->request ) ); //…Continue reading
add_filter( ‘frm_unique_field_key_separator’, ‘use_custom_field_key_separator’ ); function use_custom_field_key_separator() { return ‘___’; }Continue reading
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