{$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
Parameters
- $actions
(string[])An array of action links to be displayed. Default 'Edit', 'Quick Edit', 'Delete', and 'View'.
- $tag
(WP_Term)Term object.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |