wpseek.com
A WordPress-centric search engine for devs and theme authors



get_avatar_comment_types › WordPress Filter Hooks

Since7.2.0
Deprecatedn/a
› apply_filters( 'get_avatar_comment_types', array( 'comment', 'note', 'reaction' )
Parameters:
  • () types An array of content types. Default contains 'comment', 'note', and 'reaction'.
    Required: Yes
Defined at:
Codex:

Filters the list of allowed comment types for retrieving avatars.





Source

$allowed_comment_types = apply_filters( 'get_avatar_comment_types', array( 'comment', 'note', 'reaction' ) );