A WordPress-centric search engine for devs and theme authors



floated_admin_avatar ›

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

Add avatars to relevant places in admin, or try to.



Source

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