{$taxonomy}_row_actions WordPress Action Hook

The {$taxonomy}_row_actions hook allows you to add custom actions to the row action links for a given taxonomy term. This can be useful for adding custom links or actions for your taxonomy terms.

apply_filters( "{$taxonomy}_row_actions", string[] $actions, WP_Term $tag ) #

Filters the action links displayed for each term in the terms list table.


Description

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • category_row_actions
  • post_tag_row_actions

Top ↑

Parameters

$actions

(string[])An array of action links to be displayed. Default 'Edit', 'Quick Edit', 'Delete', and 'View'.

$tag

(WP_Term)Term object.


Top ↑

Source

File: wp-admin/includes/class-wp-terms-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.