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_argsarray
An array of arguments to retrieve the links list.
$instancearray
The settings for the particular instance of the widget.

Source

wp_list_bookmarks( apply_filters( 'widget_links_args', $widget_links_args, $instance ) );

Changelog

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

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