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
479            *
480            * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
481            *
482            * @since 3.0.0
483            *
484            * @param array  $actions An array of action links to be displayed. Default
485            *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
486            * @param WP_Term $tag    Term object.
487            */
488           $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
489
490           return $this->row_actions( $actions );
491      }
492
493      /**
494       * @param WP_Term $tag Term object.
495       * @return string
496       */
497      public function column_description( $tag ) {