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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_avatar_comment_types