comment_row_actions WordPress Action Hook

This hook is used to add extra row action links to the comments list table. This can be useful for plugins that want to add custom actions to the comments list table.

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.


Top ↑

Source

File: wp-admin/includes/dashboard.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.