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'.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More