Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_link_custom_column

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
174                     case 'visible':
175                          ?><td align='center'><?php echo $visible; ?></td><?php
176                          break;
177                     case 'action':
178                          echo '<td><a href="link.php?link_id='.$link->link_id.'&amp;action=edit" class="edit">'.__('Edit').'</a></td>';
179                          echo '<td><a href="' . wp_nonce_url('link.php?link_id='.$link->link_id.'&amp;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>';
180                          break;
181                     default:
182                          ?>
183                          <td><?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td>
184                          <?php
185                          break;
186
187                }
188           }
189           echo '<td align="center"><input type="checkbox" name="linkcheck[]" value="'.$link->link_id.'" /></td>';
190           echo "\n    </tr>\n";
191      }
192 ?>