I downloaded various themes on net and I found on functions.php they write something like this
Example to remove inline comment style.
function demo_remove_recent_comments_style() {
add_filter( 'show_recent_comments_widget_style', '__return_false' );
}
add_action( 'widgets_init', 'demo_remove_recent_comments_style' );
Question
Why we not write only this without a function()
add_filter( 'show_recent_comments_widget_style', '__return_false' );
Let me know
