Source View: {$taxonomy}_row_actions

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
329            *
330            * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
331            *
332            * @since 3.0.0
333            *
334            * @param array  $actions An array of action links to be displayed. Default
335            *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
336            * @param object $tag     Term object.
337            */
338           $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
339
340           $out .= $this->row_actions( $actions );
341           $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
342           $out .= '<div class="name">' . $qe_data->name . '</div>';
343
344           /** This filter is documented in wp-admin/edit-tag-form.php */
345           $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
346           $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
347