| @@ -43,9 +43,13 @@ | ||
| 43 | 43 | self::create_index( $pathdata['path'] ); |
| 44 | 44 | |
| 45 | 45 | self::create_htaccess( $path ); |
| 46 | 46 | |
| 47 | - return $pathdata; | |
| 47 | + return apply_filters( | |
| 48 | + 'jet-form-builder/file-upload/upload-dir', | |
| 49 | + $pathdata, | |
| 50 | + jet_fb_context()->get_request() | |
| 51 | + ); | |
| 48 | 52 | } |
| 49 | 53 | |
| 50 | 54 | public static function apply_temp_dir( $pathdata ) { |
| 51 | 55 | // jet-form-builder |