Disable loading of Dashicons CSS and JS files on the front-end for public site visitors.
This might break the layout or design of custom forms. including custom login forms. if
they depend on Dashicons. Make sure to check those forms after disabling.
- Click on Tools in the WordPress left side admin bar.
- Then select Enhancements.
- Click on Disable Components.
- Locate the disable smaller components option enable it and click expand.
- Locate the Dashicons CSS and JS files on the front end option and enable or disable it.
- Click save changes.