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 all references
$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 1You must log in to vote on the helpfulness of this note