twentynineteen_attachment_size
twentynineteen_attachment_size
Appears in: wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, 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
Hook Type: filter
Displaying hooks found in version: wordpress-5.8.3apply_filters('twentynineteen_attachment_size') is found 1 times:
- /wp-content/themes/twentynineteen/image.php line 3935363738394041424344
* @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>