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