Title: admin_comment_types_dropdown
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘admin_comment_types_dropdown’, string[] $comment_types )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#wp--skip-link--target)

Filters the comment types shown in the drop-down menu on the Comments list table.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#parameters)󠁿

 `$comment_types`string[]

Array of comment type labels keyed by their name.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#source)󠁿

    ```php
    $comment_types = apply_filters(
    	'admin_comment_types_dropdown',
    	array(
    		'comment' => __( 'Comments' ),
    		'pings'   => __( 'Pings' ),
    	)
    );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-comments-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/class-wp-comments-list-table.php#L529)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/class-wp-comments-list-table.php#L529-L535)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Comments_List_Table::comment_type_dropdown()](https://developer.wordpress.org/reference/classes/wp_comments_list_table/comment_type_dropdown/)`wp-admin/includes/class-wp-comments-list-table.php` |

Displays a comment type drop-down for filtering on the Comments list table.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/admin_comment_types_dropdown/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.7.0](https://developer.wordpress.org/reference/since/2.7.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fadmin_comment_types_dropdown%2F)
before being able to contribute a note or feedback.