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

File: wp-admin/includes/dashboard.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_row_actions