WordPress at a glance
filter is not described

widget_links_args filter-hook . WP 2.6.0

Filters the arguments for the Links widget.


add_filter( 'widget_links_args', 'filter_function_name_4356', 10, 2 );
function filter_function_name_4356( $widget_links_args, $instance ){
	// filter...

	return $widget_links_args;
An array of arguments to retrieve the links list.
The settings for the particular instance of the widget.


  • Since 4.4.0 Added the $instance parameter.

Where the hook is called

wp-includes/widgets/class-wp-widget-links.php 80
wp_list_bookmarks( apply_filters( 'widget_links_args', $widget_links_args, $instance ) );

Where the hook is used (in WP core)

Does not used.