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 only contains 'comment'.

Source

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

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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