W3cubDocs

/WordPress

apply_filters( 'admin_comment_types_dropdown', array $comment_types )

Filters the comment types dropdown menu.

Parameters

$comment_types

(array) An array of comment types. Accepts 'Comments', 'Pings'.

Source

File: wp-admin/includes/class-wp-comments-list-table.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown