show_recent_comments_widget_style filter-hook . WP 3.1.0
Filters the Recent Comments default widget styles.
Usage
add_filter( 'show_recent_comments_widget_style', 'filter_function_name_7656', 10, 2 ); function filter_function_name_7656( $active, $id_base ){ // filter... return $active; }
- $active(true/false)
- Whether the widget is active.
Default: true - $id_base(string)
- The widget ID.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
show_recent_comments_widget_style
wp-includes/widgets/class-wp-widget-recent-comments.php 53
|| ! apply_filters( 'show_recent_comments_widget_style', true, $this->id_base ) ) {