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