2019-05-23 WordPress アイキャッチのURLを取得する $post_thumbnail_url = the_post_thumbnail_url(); ソースコードは /wp-includes/post-thumbnail-template.php にある。