Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: twentyfifteen_author_bio_avatar_size

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
13      <div class="author-avatar">
14           <?php
15           /**
16            * Filter the author bio avatar size.
17            *
18            * @since Twenty Fifteen 1.0
19            *
20            * @param int $size The avatar height and width size in pixels.
21            */
22           $author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );
23
24           echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
25           ?>
26      </div><!-- .author-avatar -->
27
28      <div class="author-description">
29           <h3 class="author-title"><?php echo get_the_author(); ?></h3>
30
31           <p class="author-bio">