Filters the width for Twenty Eleven's default attachment size.
$sizeintwp-content/themes/twentyeleven/image.php:104file scope * This edits the image width, and the image height is limited to 1024 pixels. * * @since Twenty Eleven 1.0 * * @param int $size The width for the image attachment size in pixels. Default 848. */ $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); ?> </a> <?php if ( ! empty( $post->post_excerpt ) ) : ?> <div class="entry-caption">Introduced in Twenty Eleven 1.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$size added.verified against source