twentynineteen_attachment_size

twentynineteen_attachment_size

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.8.3

apply_filters('twentynineteen_attachment_size') is found 1 times:

  • /wp-content/themes/twentynineteen/image.php line 39
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
         * @since Twenty Sixteen 1.0
         *
         * @param string $image_size Image size. Default 'large'.
         */
        $image_size = apply_filters( 'twentynineteen_attachment_size', 'full' );
     
        echo wp_get_attachment_image( get_the_ID(), $image_size );
    ?>
     
        <figcaption class="wp-caption-text"><?php the_excerpt(); ?></figcaption>