WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
4 | * |
5 | * @package WordPress |
6 | * @subpackage Twenty_Thirteen |
7 | * @since Twenty Thirteen 1.0 |
8 | */ |
9 | ?> |
10 |
|
11 | <div class="author-info"> |
12 | <div class="author-avatar"> |
13 | <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?> |
14 | </div><!-- .author-avatar --> |
15 | <div class="author-description"> |
16 | <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> |
17 | <p class="author-bio"> |
18 | <?php the_author_meta( 'description' ); ?> |
19 | <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> |
20 | <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentythirteen' ), get_the_author() ); ?> |
21 | </a> |
22 | </p> |