Remove Dashicons From WordPress

Dashicons is the official icon font of the WordPress admin as of 3.8. Some themes and developers utilize this (dashicons.min.css) on the front-end of sites. However, many modern themes and plugins now utilize their own icons, SVGs, or don’t have any icons at all. So if you’re not using Dashicons, the stylesheet adds unnecessary load time to your site and is also render-blocking.

function wpdocs_dequeue_dashicon() {
    if (current_user_can( 'update_core' )) {
add_action( 'wp_enqueue_scripts', 'wpdocs_dequeue_dashicon' );
Was this guide helpful?