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
$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
User Contributed Notes