twentysixteen_author_bio_avatar_size

過濾鉤子
apply_filters( 'twentysixteen_author_bio_avatar_size', 42 )
引數
  • (int) $size The avatar height and width size in pixels.
    Required:
定義位置
  • wp-content/themes/twentysixteen/template-parts/biography.php , line 21
相關勾子
twentyfifteen_author_bio_avatar_sizetwentysixteen_author_avatar_sizetwentyten_author_bio_avatar_sizetwentythirteen_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 Sixteen 1.0
棄用
-

twentysixteen_author_bio_avatar_size – 該函式用於指定Twenty Sixteen主題中作者簡介部分的作者頭像的大小: 該函式返回作者頭像的大小,它可以用來在作者簡介部分顯示作者的個人資料圖片。

篩選出Twenty Sixteen作者的bio頭像大小。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$author_bio_avatar_size = apply_filters( 'twentysixteen_author_bio_avatar_size', 42 );
$author_bio_avatar_size = apply_filters( 'twentysixteen_author_bio_avatar_size', 42 );
$author_bio_avatar_size = apply_filters( 'twentysixteen_author_bio_avatar_size', 42 );

常見問題

FAQs
檢視更多 >