Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: editable_slug

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

This hook occurs 2 times in this file.

Line Code
263                $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
264           $actions['view'] = '<a href="' . get_term_link( $tag ) . '">' . __( 'View' ) . '</a>';
265
266           $actions = apply_filters( 'tag_row_actions', $actions, $tag );
267           $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
268
269           $out .= $this->row_actions( $actions );
270           $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
271           $out .= '<div class="name">' . $qe_data->name . '</div>';
272           $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
273           $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
274
275           return $out;
276      }
277
278      function column_description( $tag ) {
279           return $tag->description;
280      }
281
282      function column_slug( $tag ) {
283           return apply_filters( 'editable_slug', $tag->slug );
284      }
285
286      function column_posts( $tag ) {
287           global $taxonomy, $post_type;
288
289           $count = number_format_i18n( $tag->count );
290
291           $tax = get_taxonomy( $taxonomy );
292