Wordpress

How to use media uploader in wordpress custom plugin

How to use media uploader in wordpress custom plugin
  • Max

    What about scripts? Where are links for the scripts which you added and called from function?

  • Thank you Sumith Harshan. The tutorial helped me a lot to add media uploader for my wordpress plugin http://techsini.com/our-wordpress-plugins/elegant-subscription-popup

  • Hello Sumith,

    We should add window.send_to_editor function inside the button submit brackets and then write return false. Because the above code conflicts with adding images in wp posts or pages.