WordPress at a glance
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_7794' );
function filter_function_name_7794( $avatar_defaults ){
	// filter...

	return $avatar_defaults;
Associative array of default avatars.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.