Getting media library popup in custom plugin admin page
There’s a few things to consider, like where you’re putting this… …you didn’t specify so here’s how it would work in a custom post-type: First you’d have to add the metabox and the inputs to upload the file, then make sure that everything gets saved… <?php function add_your_custom_posttype_metaboxes() { //you have to set the above … Read more