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
134           /**
135            * Filter the arguments for the Links widget.
136            *
137            * @since 2.6.0
138            *
139            * @see wp_list_bookmarks()
140            *
141            * @param array $args An array of arguments to retrieve the links list.
142            */
143           wp_list_bookmarks( apply_filters( 'widget_links_args', array(
144                'title_before' => $args['before_title'], 'title_after' => $args['after_title'],
145                'category_before' => $before_widget, 'category_after' => $args['after_widget'],
146                'show_images' => $show_images, 'show_description' => $show_description,
147                'show_name' => $show_name, 'show_rating' => $show_rating,
148                'category' => $category, 'class' => 'linkcat widget',
149                'orderby' => $orderby, 'order' => $order,
150                'limit' => $limit,
151           ) ) );
152      }