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.


Top ↑

Source

File: wp-includes/widgets/class-wp-widget-recent-comments.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.