W3cubDocs

/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

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_avatar_comment_types