W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/show_recent_comments_widget_style