Now, I am admittedly a new plug-in author. But I have learned quite a bit over the past few weeks. I wrote a nice simple plug-in that works WONDERFULLY, but now I am trying to add functionality. I just got 2.5 up and running, and I want to add pages to the POST/PAGE Media Uploader/Manager... stuffs...
I began writing something last week, but I was going to hack a GreyBox script to get it working. Now that I have 2.5, it's at my fingertips, but I am dumbfounded as to how to do it.
I started hacking a Viddler plug-in apart and got a little ways:
function add_sWPmedia($array) {
$array['smugwptab'] = 'Your SmugMug';
return $array;
}
if (function_exists('add_action')) {
add_action('media_upload_tabs','add_sWPmedia');
}
Adds a tab to the Media Upload screen, but I haven't a clue as to how to send output... Anyone have any clue?
There needs/should be a How-To for this out there. And if there isn't, I am going to compile any advice I receive here into a how-to. It's a great little feature, but there is no documentation about it anywhere...