Filter hook 'avatar_defaults'

in WP Core File wp-admin/options-discussion.php at line 336

Description

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.

Occurrences

Filename Line Number
wp-admin/options-discussion.php 336

Parameters

Type Name Description
string[] $avatar_defaults Associative array of default avatars.

PHP Doc

/**
 * 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.
 *
 * @since 2.6.0
 *
 * @param string[] $avatar_defaults Associative array of default avatars.
 */