Filter hook 'comment_row_actions'
in WP Core File wp-admin/includes/dashboard.php at line 814
Description
Filters the action links displayed for each comment in the 'Recent Comments' dashboard widget.
Occurrences
Filename |
Line Number |
wp-admin/includes/dashboard.php |
814 |
wp-admin/includes/class-wp-comments-list-table.php |
851 |
Parameters
Type |
Name |
Description |
string[] |
$actions |
An array of comment actions. Default actions include: 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam', 'Delete', and 'Trash'. |
WP_Comment |
$comment |
The comment object. |
PHP Doc
/**
* Filters the action links displayed for each comment in the 'Recent Comments'
* dashboard widget.
*
* @since 2.6.0
*
* @param string[] $actions An array of comment actions. Default actions include:
* 'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam',
* 'Delete', and 'Trash'.
* @param WP_Comment $comment The comment object.
*/