W3cubDocs

/WordPress

apply_filters( 'widget_links_args', array $widget_links_args, array $instance )

Filters the arguments for the Links widget.

Description

See also

Parameters

$widget_links_args

(array) An array of arguments to retrieve the links list.

$instance

(array) The settings for the particular instance of the widget.

Source

File: wp-includes/widgets/class-wp-widget-links.php

View on Trac

Changelog

Version Description
4.4.0 Added the $instance parameter.
2.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_links_args