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 |
---|---|
116 | $args['search'] = $_GET['s']; |
117 |
|
118 | $categories = get_terms( 'link_category', $args ); |
119 | if ( $categories ) { |
120 | $output = ''; |
121 | foreach ( $categories as $category ) { |
122 | $category = sanitize_term($category, 'link_category', 'display'); |
123 | $output .= link_cat_row($category); |
124 | } |
125 | $output = apply_filters('cat_rows', $output); |
126 | echo $output; |
127 | unset($category); |
128 | } |
129 |
|
130 | ?> |
131 | </tbody> |
132 | </table> |
133 | </form> |
134 |
|