Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

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.

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
353            *
354            * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
355            *
356            * @since 3.0.0
357            *
358            * @param array  $actions An array of action links to be displayed. Default
359            *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
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