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 |
---|---|
119 |
|
120 | <?php |
121 | $link_columns = array( |
122 | 'name' => '<th style="width: 15%;">' . __('Name') . '</th>', |
123 | 'url' => '<th>' . __('URL') . '</th>', |
124 | 'categories' => '<th>' . __('Categories') . '</th>', |
125 | 'rel' => '<th style="text-align: center">' . __('rel') . '</th>', |
126 | 'visible' => '<th style="text-align: center">' . __('Visible') . '</th>', |
127 | ); |
128 | $link_columns = apply_filters('manage_link_columns', $link_columns); |
129 | ?> |
130 |
|
131 | <?php |
132 | if ( 'all' == $cat_id ) |
133 | $cat_id = ''; |
134 | $args = array('category' => $cat_id, 'hide_invisible' => 0, 'orderby' => $sqlorderby, 'hide_empty' => 0); |
135 | if ( !empty($_GET['s']) ) |
136 | $args['search'] = $_GET['s']; |
137 | $links = get_bookmarks( $args ); |