apply_filters( 'tag_row_actions', string[] $actions, WP_Term $tag )
- Since
- 2.8.0, 3.0.0, 5.4.2
Filters the action links displayed for each term in the Tags list table.
Compatibility
- WordPress
- since 5.4.2
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$actionsstring[]- An array of action links to be displayed. Default 'Edit', 'Quick Edit', 'Delete', and 'View'.
$tagWP_Term- Term object.
Where this hook fires · 1
wp-admin/includes/class-wp-terms-list-table.php:544WP_Terms_List_Table::handle_row_actions()
Source code
* @since 5.4.2 Restored (un-deprecated). * * @param string[] $actions An array of action links to be displayed. Default * 'Edit', 'Quick Edit', 'Delete', and 'View'. * @param WP_Term $tag Term object. */ $actions = apply_filters( 'tag_row_actions', $actions, $tag ); /** * Filters the action links displayed for each term in the terms list table. * * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. *Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
5.4.2
Restored (un-deprecated).from the docblock
3.0.0
Deprecated in favor of {@see '{$taxonomy}_row_actions'} filter.from the docblock
2.8.0
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.