Home / Disable Legacy CSS
Duplicate Snippet

Embed Snippet on Your Site

Disable Legacy CSS

Stop loading styles for recent comments and classic gallery shortcode.

200+
Code Preview
php
<?php
add_filter( 'show_recent_comments_widget_style', '__return_false' );
add_filter( 'use_default_gallery_style', '__return_false' );

Comments

Add a Comment