get_avatar_comment_types filter-hook . WP 3.0.0
Filters the list of allowed comment types for retrieving avatars.
Usage
add_filter( 'get_avatar_comment_types', 'filter_function_name_9998' ); function filter_function_name_9998( $types ){ // filter... return $types; }
- $types(array)
- An array of content types.
Default: only contains 'comment'
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
get_avatar_comment_types
wp-includes/link-template.php 4072
$allowed_comment_types = apply_filters( 'get_avatar_comment_types', array( 'comment' ) );