WordPress at Your Fingertips
filter is not described

avatar_defaults filter-hook . WP 2.6.0

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.


add_filter( 'avatar_defaults', 'filter_function_name_6292' );
function filter_function_name_6292( $avatar_defaults ){
	// filter...

	return $avatar_defaults;
Associative array of default avatars.


Since 2.6.0 Introduced.

Where the hook is called

In file: /wp-admin/options-discussion.php
wp-admin/options-discussion.php 293
$avatar_defaults = apply_filters( 'avatar_defaults', $avatar_defaults );

Where in WP core the hook is used WordPress

Usage not found.