default_avatar_select filter-hookWP 2.6.0

Filters the HTML output of the default avatar list.

Usage

add_filter( 'default_avatar_select', 'wp_kama_default_avatar_select_filter' );

/**
 * Function for `default_avatar_select` filter-hook.
 * 
 * @param string $avatar_list HTML markup of the avatar list.
 *
 * @return string
 */
function wp_kama_default_avatar_select_filter( $avatar_list ){

	// filter...
	return $avatar_list;
}
$avatar_list(string)
HTML markup of the avatar list.

Changelog

Since 2.6.0 Introduced.

Where the hook is called

In file: /wp-admin/options-discussion.php
default_avatar_select
wp-admin/options-discussion.php 318
echo apply_filters( 'default_avatar_select', $avatar_list );

Where the hook is used in WordPress

Usage not found.