twentysixteen_author_avatar_size
twentysixteen_author_avatar_size
Appears in: wordpress-4.4, wordpress-4.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2
Hook Type: filter
Displaying hooks found in version: wordpress-5.3.2apply_filters('twentysixteen_author_avatar_size') is found 1 times:
- /wp-content/themes/twentysixteen/inc/template-tags.php line 221819202122232425262728
* @since Twenty Sixteen 1.0
*/
function
twentysixteen_entry_meta() {
if
(
'post'
=== get_post_type() ) {
$author_avatar_size
= apply_filters(
'twentysixteen_author_avatar_size'
, 49 );
printf(
'<span class="byline"><span class="author vcard">%1$s<span class="screen-reader-text">%2$s </span> <a class="url fn n" href="%3$s">%4$s</a></span></span>'
,
get_avatar( get_the_author_meta(
'user_email'
),
$author_avatar_size
),
_x(
'Author'
,
'Used before post author name.'
,
'twentysixteen'
),
esc_url( get_author_posts_url( get_the_author_meta(
'ID'
) ) ),
get_the_author()