I have searched for this, but keep finding articles about getting the URL of a featured image. I don’t want that.
I want to know how wordpress generates the featured image link here Featured image Link . It is unique to each draft post being written.
I want to add a span to each post page, that links to that link, so when users click it, they get a new tab which opens up the upload options like so – set featured image dialogue.
The reason for this is my theme has a front-end posting editor, so the user never has sight of the usual post editor window that features the usual “set featured image” link. Furthermore, they won’t always upload a featured image. However, i would like to provide a simple link on each post page that allows the author to set one if need be.
Hope that makes sense.
Read more here: Featured image upload link