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 |
---|---|
175 | case 'visible': |
176 | ?><td align='center'><?php echo $visible; ?></td><?php |
177 | break; |
178 | case 'action': |
179 | echo '<td><a href="link.php?link_id='.$link->link_id.'&action=edit" class="edit">'.__('Edit').'</a></td>'; |
180 | echo '<td><a href="' . wp_nonce_url('link.php?link_id='.$link->link_id.'&action=delete', 'delete-bookmark_' . $link->link_id ) . '"'." onclick=\"return deleteSomething( 'link', $link->link_id , '".js_escape(sprintf(__("You are about to delete the '%s' link to %s.\n'Cancel' to stop, 'OK' to delete."), $link->link_name, $link->link_url )).'\' );" class="delete">'.__('Delete').'</a></td>'; |
181 | break; |
182 | default: |
183 | ?> |
184 | <td><?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td> |
185 | <?php |
186 | break; |
187 |
|
188 | } |
189 | } |
190 | echo '<td align="center"><input type="checkbox" name="linkcheck[]" value="'.$link->link_id.'" /></td>'; |
191 | echo "\n </tr>\n"; |
192 | } |
193 | ?> |