tag_row_actions filter-hook . WP 2.8.0
Filters the action links displayed for each term in the Tags list table.
Usage
add_filter( 'tag_row_actions', 'filter_function_name_4427', 10, 2 ); function filter_function_name_4427( $actions, $tag ){ // filter... return $actions; }
- $actions(string[])
- An array of action links to be displayed.
Default: 'Edit', 'Quick Edit', 'Delete', and 'View' - $tag(WP_Term)
- Term object.
Changelog
Since 2.8.0 | Introduced. |
Since 3.0.0 | Deprecated in favor of {@see '{$taxonomy}_row_actions'} filter. |
Since 5.4.2 | Restored (un-deprecated). |
Where the hook is called
tag_row_actions
wp-admin/includes/class-wp-terms-list-table.php 522
$actions = apply_filters( 'tag_row_actions', $actions, $tag );