Where are the default wordpress loading icons?

By On

I am writing some custom code and I want to add a loading icon to the page so that the user can see that the code is doing something and has not frozen. Rather than generate a new one, it would be useful to just reuse the default one that wordpress uses. What is the URL path for the default loading icons in WordPress?


1 Answer

- Advertisment -
Answered By Simon Furrel On

The default spinner icon for wordpress can be found in the following directory “/wp-includes/images/spinner.gif”. If you wish to use this spinner, you can add this to the src tag of the image to make it show up. The following code will work for you.