Last active
January 19, 2016 21:29
-
-
Save rugor/5417960 to your computer and use it in GitHub Desktop.
PHP: Wordpress functions.php remove inline comments style from head #rugor #st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remove Comments Inline Style from Head | |
function twentyten_remove_recent_comments_style() { | |
global $wp_widget_factory; | |
remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) ); | |
} | |
add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment