WordPress开发者和主题制作者的搜索引擎



floated_admin_avatar ›

Since2.5.0
已弃用n/a
floated_admin_avatar ( $name )
参数:
  • (string) $name User name.
    Required: Yes
返回:
  • (string) Avatar with Admin name.
定义在:
文档:

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



源码

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