WordPress at a glance
filter is not described

widget_comments_args filter-hook . WP 1.0

This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.

Usage

add_filter( 'widget_comments_args', 'filter_function_name_7387' );
function filter_function_name_7387( $array ){
	// filter...

	return $array;
}
$array
-

Where the hook is called

render_block_core_latest_comments()
widget_comments_args
WP_Widget_Recent_Comments::widget()
widget_comments_args
wp-includes/blocks/latest-comments.php 46-53
apply_filters(
	'widget_comments_args',
	array(
		'number'      => $attributes['commentsToShow'],
		'status'      => 'approve',
		'post_status' => 'publish',
	)
)
wp-includes/widgets/class-wp-widget-recent-comments.php 108-116
apply_filters(
	'widget_comments_args',
	array(
		'number'      => $number,
		'status'      => 'approve',
		'post_status' => 'publish',
	),
	$instance
)

Where in WP core the hook is used WordPress

Usage not found.