WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
97 | <?php |
98 | $link_columns = array( |
99 | 'name' => '<th width="15%">' . __('Name') . '</th>', |
100 | 'url' => '<th>' . __('URL') . '</th>', |
101 | 'categories' => '<th>' . __('Categories') . '</th>', |
102 | 'rel' => '<th style="text-align: center">' . __('rel') . '</th>', |
103 | 'visible' => '<th style="text-align: center">' . __('Visible') . '</th>', |
104 | 'action' => '<th colspan="2" style="text-align: center">' . __('Action') . '</th>', |
105 | ); |
106 | $link_columns = apply_filters('manage_link_columns', $link_columns); |
107 | ?> |
108 |
|
109 | <?php |
110 | if ( 'all' == $cat_id ) |
111 | $cat_id = ''; |
112 | $links = get_bookmarks( "category=$cat_id&hide_invisible=0&orderby=$sqlorderby&hide_empty=0" ); |
113 | if ( $links ) { |
114 | ?> |
115 |
|