floated_admin_avatar

Advertisement

Summery Summery

Adds avatars to relevant places in admin.

Syntax Syntax

floated_admin_avatar( string $name )

Parameters Parameters

$name

(Required) User name.

Return Return

(string) Avatar with the user name.

Source Source

File: wp-admin/includes/comment.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply