tag_row_actions WordPress Action Hook

The tag_row_actions hook allows you to add extra actions to a tag in the WordPress admin. This is useful for adding custom bulk actions or for adding links to other areas of the admin.

apply_filters( 'tag_row_actions', string[] $actions, WP_Term $tag ) #

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


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
5.4.2Restored (un-deprecated).
3.0.0Deprecated in favor of '{$taxonomy_row_actions'} filter.
2.8.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.