apply_filters( 'admin_comment_types_dropdown', string[] $comment_types )

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


Parameters

$comment_types string[]
Array of comment type labels keyed by their name.

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.