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


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)

Thomas 8 months 0 Answers 78 views 0

Leave an answer