twenty_twenty_one_attachment_size
twenty_twenty_one_attachment_size
Appears in: wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2
Hook Type: filter
Displaying hooks found in version: wordpress-6.3.2apply_filters('twenty_twenty_one_attachment_size') is found 1 times:
- /wp-content/themes/twentytwentyone/image.php line 31
* @since Twenty Twenty-One 1.0 * * @param string $image_size Image size. Default 'full'. */ $image_size = apply_filters( 'twenty_twenty_one_attachment_size', 'full' ); echo wp_get_attachment_image( get_the_ID(), $image_size ); ?> <?php if ( wp_get_attachment_caption() ) : ?> <figcaption class="wp-caption-text"><?php echo wp_kses_post( wp_get_attachment_caption() ); ?></figcaption> <?php endif; ?>