show_recent_comments_widget_style WordPress Filter Hook
The show_recent_comments_widget_style hook is used to style the Recent Comments widget. This hook is used to style the Recent Comments widget. The default styling for the Recent Comments widget is pretty basic, so if you want to add your own styling, this hook is perfect for that. You can use this hook to add any CSS styling you want, and it will be applied to the Recent Comments widget.
apply_filters( 'show_recent_comments_widget_style', bool $active , string $id_base ) #
Filters the Recent Comments default widget styles.
Parameters
- $active
(bool)Whether the widget is active. Default true.
- $id_base
(string)The widget ID.
Source
File: wp-includes/widgets/class-wp-widget-recent-comments.php
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |