Is there an easy way to include an upload box to your settings page?
I am building an Open Graph options page and I like users to upload a standard image directly from that page.
WordPress provides a convenient function for just this purpose:
Assuming that you already have the appropriate file form field in your settings page, and that you're using
Then, you just need to define that
That's pretty much it.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?