WordPress at a glance
filter is not described

widget_posts_args filter-hook . WP 3.4.0

Filters the arguments for the Recent Posts widget.

Usage

add_filter( 'widget_posts_args', 'filter_function_name_8940', 10, 2 );
function filter_function_name_8940( $args, $instance ){
	// filter...

	return $args;
}
$args(array)
An array of arguments used to retrieve the recent posts.
$instance(array)
Array of settings for the current widget.

Changelog

Since 3.4.0 Introduced.
Since 4.9.0 Added the $instance parameter.

Where the hook is called

WP_Widget_Recent_Posts::widget()
widget_posts_args
wp-includes/widgets/class-wp-widget-recent-posts.php 71-80
apply_filters(
	'widget_posts_args',
	array(
		'posts_per_page'      => $number,
		'no_found_rows'       => true,
		'post_status'         => 'publish',
		'ignore_sticky_posts' => true,
	),
	$instance
)

Where the hook is used (in WP core)

Usage not found!