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 |
---|---|
286 | public function column_default( $link, $column_name ) { |
287 | /** |
288 | * Fires for each registered custom link column. |
289 | * |
290 | * @since 2.1.0 |
291 | * |
292 | * @param string $column_name Name of the custom column. |
293 | * @param int $link_id Link ID. |
294 | */ |
295 | do_action( 'manage_link_custom_column', $column_name, $link->link_id ); |
296 | } |
297 |
|
298 | public function display_rows() { |
299 | foreach ( $this->items as $link ) { |
300 | $link = sanitize_bookmark( $link ); |
301 | $link->link_name = esc_attr( $link->link_name ); |
302 | $link->link_category = wp_get_link_cats( $link->link_id ); |
303 | ?> |
304 | <tr id="link-<?php echo $link->link_id; ?>"> |