Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    If you’re sure dashicons is not used on the frontend, you can use this code snippet;

    add_filter( 'autoptimize_filter_css_removables', function( $in ) {
     return $in . ', dashicons.min.css'; 
    } );

    hope this helps,
    frank

    Thread Starter kduadmn

    (@kduadmn)

    Thanks for your quick reply.
    Is there no option in autoptimize settings to remove dashicons css?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, there no such such option in AO’s settings screen.

    Thread Starter kduadmn

    (@kduadmn)

    Ok thanks, hope the option will be added in AO settings soon.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove dashicons css’ is closed to new replies.