apply_filters( 'widget_posts_args', array $args, array $instance )

Filters the arguments for the Recent Posts widget.


Description

See also


Parameters

$args

An array of arguments used to retrieve the recent posts.

$instance

Array of settings for the current widget.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Added the $instance parameter.
WP-3.4.0 Introduced.