apply_filters( ‘get_avatar_comment_types’, array $types )

In this article

Filters the list of allowed comment types for retrieving avatars.

Parameters

$typesarray
An array of content types. Default contains 'comment' and 'note'.

Source

$allowed_comment_types = apply_filters( 'get_avatar_comment_types', array( 'comment', 'note' ) );

Changelog

VersionDescription
6.9.0The 'note' comment type was added.
3.0.0Introduced.

User Contributed Notes

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