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
.
View all references
|| ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) {
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |