WordPress.org

Forums

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

  1. TheCosmonaut
    Member
    Posted 1 year 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?

    http://wordpress.org/plugins/multiple-post-thumbnails/

  2. Chris Scott
    Member
    Plugin Author

    Posted 1 year 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