avatar_defaults

SummerySummery

Filters the default avatars.

Syntax

apply_filters( 'avatar_defaults', string[] $avatar_defaults )

DescriptionDescription

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

ParametersParameters

$avatar_defaults

(string[]) Associative array of default avatars.

SourceSource

File: wp-admin/options-discussion.php

ChangelogChangelog

Changelog
Version Description
2.6.0 Introduced.
Scroll to Top