Filters the Twenty Eleven default attachment size.
intwp-content/themes/twentyeleven/image.php:102file scope * Filters the Twenty Eleven default attachment size. * * @since Twenty Eleven 1.0 * * @param int The height and width attachment size dimensions in pixels. Default 848. */ $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); // Filterable image width with 1024px limit for image height. echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); ?> </a> <?php if ( ! empty( $post->post_excerpt ) ) : ?>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