Previous/Next Post – Cannot Display Featured Image
featured image url function passed post id and image size <?php $featured_img_url = get_the_post_thumbnail_url($prevPost->ID,’full’); ?> <img src=”https://wordpress.stackexchange.com/questions/299668/<?php echo $featured_img_url; ?>” />