On this page
apply_filters( 'show_recent_comments_widget_style', bool $active, string $id_base )
Filters the Recent Comments default widget styles.
Parameters
$activebool-
Whether the widget is active. Default true.
$id_basestring-
The widget ID.
Source
File: wp-includes/widgets/class-wp-widget-recent-comments.php. View all references
|| ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) {
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget_Recent_Comments::recent_comments_style() wp-includes/widgets/class-wp-widget-recent-comments.php | Outputs the default styles for the Recent Comments widget. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/show_recent_comments_widget_style