How do I select an image from Media Library in my plugin?

Question

I have written a plugin in which you have a small chat icon in the bottom right corner, however I want the user to be able to choose an image as the icon from the Media Library. How can I do this with the WordPress API? The image is a setting in the plugin (only changable by the admin)

0
Thomas 8 months 0 Answers 78 views 0

Leave an answer