How to remove fonts loaded by Table of Content Plugin?

I know how to create TOC without a plugin but is there any way to remove the fonts loaded by Table of Contents plugin.

This is related to speed optimization.
Thank you.

Please share site URL in question. Need to check once source code.

Brother please check your message.
Thank you.

// Remove Icon moon web font loaded by TOC
function wp_ez_font_removal() {
   wp_dequeue_style( 'ez-icomoon' );
add_action( 'wp_print_styles', 'wp_ez_font_removal', 100 );

Add this snippet in Code Snippets plugin

1 Like

It’s not working.

This plugin should help in removing

I am working on a better solution. Modifying the plugin for you guys.
Will be available soon :slight_smile:


I have this plugin in my theme. So I need not to install
It’s plugin.

Was above plugin helpful?