A WordPress-centric search engine for devs and theme authors



get_avatar_comment_types ›

Since3.0.0
Deprecatedn/a
apply_filters( 'get_avatar_comment_types', array( 'comment' )
Parameters:
  • (array) $types An array of content types. Default only contains 'comment'.
    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' ) );