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
360            * @param object $tag     Term object.
361            */
362           $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
363
364           $out .= $this->row_actions( $actions );
365           $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
366           $out .= '<div class="name">' . $qe_data->name . '</div>';
367
368           /** This filter is documented in wp-admin/edit-tag-form.php */
369           $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
370           $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
371
372           return $out;
373      }
374
375      /**
376       * @param object $tag
377       * @return string
378       */
 
Line Code
380           return $tag->description;
381      }
382
383      /**
384       * @param object $tag
385       * @return string
386       */
387      public function column_slug( $tag ) {
388           /** This filter is documented in wp-admin/edit-tag-form.php */
389           return apply_filters( 'editable_slug', $tag->slug );
390      }
391
392      /**
393       * @param object $tag
394       * @return string
395       */
396      public function column_posts( $tag ) {
397           $count = number_format_i18n( $tag->count );
398