get_avatar_comment_types WordPress Filter Hook
The get_avatar_comment_types WordPress hook is used to customize the list of comment types for which an avatar should be displayed. This hook is useful for plugins that add new comment types to WordPress.
apply_filters( 'get_avatar_comment_types', array $types ) #
Filters the list of allowed comment types for retrieving avatars.
Parameters
- $types
(array)An array of content types. Default only contains 'comment'.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |