apply_filters( 'comment_status_links', string[] $status_links )
Filters the comment status links.
Parameters
-
$status_links
string[] -
An associative array of fully-formed comment status links. Includes
'All'
,'Mine'
,'Pending'
,'Approved'
,'Spam'
, and'Trash'
.
Source
File: wp-admin/includes/class-wp-comments-list-table.php
.
View all references
return apply_filters( 'comment_status_links', $this->get_views_links( $status_links ) );
Changelog
Version | Description |
---|---|
5.1.0 | The 'Mine' link was added. |
2.5.0 | Introduced. |