vfbp_form_enctype

Description

Filter the form "enctype" attribute

Changing this value will affect whether or not  File Upload fields will continue to function.

Parameters

$enctype
(string) (required) The form enctype
Default: 'multipart/form-data'

$form_id
(int) (optional) The form ID
Default: the form ID

Examples

Change the enctype for form ID 114:

add_filter( 'vfbp_form_enctype', 'filter_vfbp_form_enctype', 10, 2 );

function filter_vfbp_form_action( $enctype, $form_id ){    
    if ( 114 == $form_id )    
        return 'application/x-www-form-urlencoded';
}