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