Skip to content

Commit abaf4d3

Browse files
Twenty Sixteen: Document the twentysixteen_author_avatar_size filter.
Follow-up to [40851]. Props pmbaldha, sabernhardt. Fixes #63647. git-svn-id: https://develop.svn.wordpress.org/trunk@61060 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8dd04fb commit abaf4d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/wp-content/themes/twentysixteen/inc/template-tags.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
*/
2020
function twentysixteen_entry_meta() {
2121
if ( 'post' === get_post_type() ) {
22+
/**
23+
* Filters the Twenty Sixteen entry meta avatar size.
24+
*
25+
* @since Twenty Sixteen 1.0
26+
*
27+
* @param int $size The avatar height and width size in pixels.
28+
*/
2229
$author_avatar_size = apply_filters( 'twentysixteen_author_avatar_size', 49 );
2330
printf(
2431
'<span class="byline">%1$s<span class="screen-reader-text">%2$s </span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',

0 commit comments

Comments
 (0)