|
@@ -21,6 +21,13 @@ function gwp24_add_gf_capabilities(){
|
|
}
|
|
}
|
|
add_action( 'admin_init', 'gwp24_add_gf_capabilities' );
|
|
add_action( 'admin_init', 'gwp24_add_gf_capabilities' );
|
|
|
|
|
|
|
|
+add_filter( 'gform_upload_path', 'gwp24_change_upload_path', 10, 2 );
|
|
|
|
+function gwp24_change_upload_path( $path_info, $form_id ) {
|
|
|
|
+ $path_info['path'] = '/var/www/greenwoodpromise.com/html/wp-content/uploads/_apps/';
|
|
|
|
+ $path_info['url'] = 'https://greenwoodpromise.com/wp-content/uploads/_apps/';
|
|
|
|
+ return $path_info;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
|
|
/***********************************************************
|
|
/***********************************************************
|
|
###################### BrowserSync #########################
|
|
###################### BrowserSync #########################
|