Informations
This code get the image url by passing its ID and specify the size.
Code
<?php echo wp_get_attachment_image_src(16, ‘large’)[0]; ?>
This code get the image url by passing its ID and specify the size.
<?php echo wp_get_attachment_image_src(16, ‘large’)[0]; ?>