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
317            *
318            * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
319            *
320            * @since 3.0.0
321            *
322            * @param array  $actions An array of action links to be displayed. Default
323            *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
324            * @param object $tag     Term object.
325            */
326           $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
327
328           $out .= $this->row_actions( $actions );
329           $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
330           $out .= '<div class="name">' . $qe_data->name . '</div>';
331
332           /** This filter is documented in wp-admin/edit-tag-form.php */
333           $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
334           $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
335