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