wpseek.com
A WordPress-centric search engine for devs and theme authors



floated_admin_avatar › WordPress Function

Since2.5.0
Deprecatedn/a
floated_admin_avatar ( $name )
Parameters:
  • (string) $name User name.
    Required: Yes
Returns:
  • (string) Avatar with the user name.
Defined at:
Codex:

Adds avatars to relevant places in admin.



Source

function floated_admin_avatar( $name ) {
	$avatar = get_avatar( get_comment(), 32, 'mystery' );
	return "$avatar $name";
}