show_recent_comments_widget_style

show_recent_comments_widget_style

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('show_recent_comments_widget_style') is found 1 times:

  • /wp-includes/widgets/class-wp-widget-recent-comments.php line 54
    		 * @param bool   $active  Whether the widget is active. Default true.
    		 * @param string $id_base The widget ID.
    		 */
    		if ( ! current_theme_supports( 'widgets' ) // Temp hack #14876.
    			|| ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) {
    			return;
    		}
    
    		$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
    
    		printf(