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

$actionsstring[]
An array of comment actions. Default actions include: 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam', 'Delete', and 'Trash'.
$commentWP_Comment
The comment object.

Source

$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.