comment_row_actions WordPress Action Hook
This hook is used to add extra row action links to the comments list table. This can be useful for plugins that want to add custom actions to the comments list table.
apply_filters( 'comment_row_actions', string[] $actions , WP_Comment $comment ) #
Filters the action links displayed for each comment in the ‘Recent Comments’ dashboard widget.
Parameters
- $actions
(string[])An array of comment actions. Default actions include: 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam', 'Delete', and 'Trash'.
- $comment
(WP_Comment)The comment object.
Source
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |