Multiple Post Thumbnails
get_post_thumbnail_url to return secure version? (2 posts)

  1. TheCosmonaut
    Posted 2 years ago #

    I can't figure out how to get "get_post_thumbnail_url" to return a secure version of the URL. How do we do that?


  2. Chris Scott
    Plugin Author

    Posted 2 years ago #

    Due to the way WordPress handles thumbnail urls, your best bet is to just do a string replace on the URL you get back to ensure it is https.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple Post Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic