Reply To: How to remove Minimum characters requirement in "Subject"


Home Forums Front End PM PRO How to remove Minimum characters requirement in "Subject" Reply To: How to remove Minimum characters requirement in "Subject"

#14076
shamim
Keymaster

You cannot have multiple function as same. You can change function name OR use anonymous function.
Add following code instead

add_filter( 'fep_form_fields',function( $fields ){
    unset( $fields['message_title']['minlength'] );
    return $fields;
});