Filters the default Twenty Fifteen image attachment size.
$image_sizestringwp-content/themes/twentyfifteen/image.php:44file scope * Filters the default Twenty Fifteen image attachment size. * * @since Twenty Fifteen 1.0 * * @param string $image_size Image size. Default 'large'. */ $image_size = apply_filters( 'twentyfifteen_attachment_size', 'large' ); echo wp_get_attachment_image( get_the_ID(), $image_size ); ?> <?php if ( has_excerpt() ) : ?> <div class="entry-caption">Introduced in Twenty Fifteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.