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



avatar_defaults › WordPress Filter Hooks

Since2.6.0
Deprecatedn/a
apply_filters( 'avatar_defaults', $avatar_defaults )
Parameters:
  • (string[]) $avatar_defaults Associative array of default avatars.
    Required: Yes
Defined at:
Codex:

Filters the default avatars.

Avatars are stored in key/value pairs, where the key is option value, and the name is the displayed avatar name.





Source

$avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults );