twentyfifteen_author_bio_avatar_size

过滤钩子
apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 )
参数
  • (int) $size The avatar height and width size in pixels.
    Required:
定义位置
  • wp-content/themes/twentyfifteen/author-bio.php , line 22
相关勾子
twentyten_author_bio_avatar_sizetwentysixteen_author_bio_avatar_sizetwentythirteen_author_bio_avatar_sizetwentyeleven_author_bio_avatar_sizetwentytwelve_author_bio_avatar_size
相关方法
get_the_author_firstnameget_the_author_aimget_the_author_lastnameget_the_author_metaget_the_author_nicknameget_the_author_login
引入
Twenty Fifteen 1.0
弃用
-

twentyfifteen_author_bio_avatar_size – 此函数用于设置在Twenty Fifteen主题的作者简介部分显示的头像(个人资料图片)的大小。

过滤作者简历头像的大小。

$author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );

常见问题

FAQs
查看更多 >