Remove one of the default keywords classified as spam

add_filter( ‘frm_filename_spam_keywords’, ‘my_custom_function’ ); function my_custom_function( $spam_keywords ) { $key = array_search( ‘robux’, $spam_keywords ); // Replace the keyword ‘robux’ with the one you need to remove if ( false !== $key ) { unset( $spam_keywords[ $key ] ); }…Continue reading

Allow content in between search words

add_filter( ‘frm_where_filter’, ‘frm_flexible_filter’, 10, 2 ); function frm_flexible_filter( $where, $args ) { $view_id = 186;// Replace with your View ID $field = 644;// Replace with ID of your field if ( $args[‘display’]->ID == $view_id && $args[‘where_opt’] == $field ) {…Continue reading

Extend times to check before today

add_filter( ‘frm_form_token_check_before_today’, ‘my_custom_function’ ); function my_custom_function( $times ) { array_push( $times, 3 * DAY_IN_SECONDS ); // Three days ago. return $times; }Continue reading

Extend time to check after today.

add_filter( ‘frm_form_token_check_after_today’, ‘my_custom_function’ ); function my_custom_function( $times ) { $times = array( 50 * MINUTE_IN_SECONDS ); // Add in 50 minutes past today. return $times; }Continue reading

Add new tag

add_filter( ‘frm_mlcmp_tags’, ‘add_new_tag’ ); function add_new_tag( $tags, $data ) { if ( $data[‘subscriber_id’] === ‘123’ ) { $tags[] = array( ‘name’ => ‘New tag’, ‘status’ => ‘active’, ); } return $tags; }Continue reading

Change property

add_filter( ‘frm_field_value_object’, ‘change_field_name_property’, 10, 1 ); function change_field_name_property( $field ) { if ( $field->id === ‘123’ ) { $field->name = ‘new name’; } return $field; }Continue reading