widget_posts_args – filter

Filters the arguments for the Recent Posts widget. 

Parameters

.
( 3.4.0 ) . .
Added
( 4.9.0 ) the `$instance` parameter. . . .
.
( WP_Query::get_posts() ) . .
$args
( array ) An array of arguments used to retrieve the recent posts. . . .
$instance
( array ) Array of settings for the current widget. . . .
API Letters: ,,

Implementers