What Happened to Red "X" (Delete Uploaded File)? [RESOLVED]

Jonathan Tidwell
Mon, 27 Feb 2023 21:58:29 +0000
Get Help

Good Day,

We’re using a Gravity Form that allows visitors to upload files. When a file is uploaded, the visitor is given a chance to delete the file by clicking on a “Trash Can” dashicon.

The above is forcing us to use the WordPress dashicon file, /wp-includes/css/dashicons.min.css, which adds a heavy payload (57.6 KB) to our affected page.

We would like to dequeue WordPress’ dashicon file and use instead a native Gravity Form symbol (say, a red “X”) to perform the same file delete function. This would make our page a lot lighter.

Can anyone tell us if such an option (or code snippet) exists? We believe there used to be a red “X” available at one time, but perhaps a recent Gravity Forms update delete it (?)

Thank you!

7 posts - 2 participants