Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: widget_links_args

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
71            *
72            * @since 2.6.0
73            * @since 4.4.0 Added the `$instance` parameter.
74            *
75            * @see wp_list_bookmarks()
76            *
77            * @param array $widget_links_args An array of arguments to retrieve the links list.
78            * @param array $instance          The settings for the particular instance of the widget.
79            */
80           wp_list_bookmarks( apply_filters( 'widget_links_args', $widget_links_args, $instance ) );
81      }
82
83      /**
84       * Handles updating settings for the current Links widget instance.
85       *
86       * @since 2.8.0
87       *
88       * @param array $new_instance New settings for this instance as input by the user via
89       *                            WP_Widget::form().