twentysixteen_author_avatar_size

过滤钩子
apply_filters( 'twentysixteen_author_avatar_size', 49 )

twentysixteen_author_avatar_size – 该函数用于指定Twenty Sixteen主题中作者头像的大小: 该函数返回作者头像的大小,它可以用来显示作者的个人资料图片。

这个钩子在最新版本的WordPress(6.0)中没有出现。不要使用它。它已被弃用。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$author_avatar_size = apply_filters( 'twentysixteen_author_avatar_size', 49 );
$author_avatar_size = apply_filters( 'twentysixteen_author_avatar_size', 49 );
$author_avatar_size = apply_filters( 'twentysixteen_author_avatar_size', 49 );

常见问题

FAQs
查看更多 >