How to change the upload destination folder in MW WP Form

To change the folder to which MW WP Form is uploaded, use the following function

function my_mwform_upload_dir( $path, $Data, $key ) { 
 return '/model'; 
} 
add_filter( 'mwform_upload_dir_mw-wp-form-1129', 'my_mwform_upload_ dir', 10, 3 );

This code changes the upload directory to ‘/model’.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top