Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: link_description

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
264
265           $the_link = '#';
266           if ( !empty($bookmark->link_url) )
267                $the_link = clean_url($bookmark->link_url);
268
269           $rel = $bookmark->link_rel;
270           if ( '' != $rel )
271                $rel = ' rel="' . $rel . '"';
272
273           $desc = attribute_escape(apply_filters('link_description', $bookmark->link_description)); 
274            $name = attribute_escape(apply_filters('link_title', $bookmark->link_name)); 
275            $title = $desc;
276
277           if ( $show_updated )
278                if ( '00' != substr($bookmark->link_updated_f, 0, 2) ) {
279                     $title .= ' ';
280                     $title .= sprintf(__('Last updated: %s'), date(get_option('links_updated_date_format'), $bookmark->link_updated_f + (get_option('gmt_offset') * 3600)));
281                     $title .= ')';
282                }