wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



floated_admin_avatar › WordPress Function

Depuis2.5.0
Dépréciéen/a
floated_admin_avatar ( $name )
Paramètres:
  • (string) $name User name.
    Requis: Oui
Retourne:
  • (string) Avatar with the user name.
Défini(e) dans:
Codex:

Adds avatars to relevant places in admin.



Source

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