About Media Upload Functions


According to my clients requirement, I need to add a html text area in the media upload area and need to map this text area value to image description.

Let me know.

1)The PHP file that containing upload functions. 2)The JS file that containing upload functions.

And just tell me the media uploading php action name and ajax calling js function.


Hi @dehigaspitiya,

You want to add textarea but on which page? is it user’s media tab or some another page with uploader shortcode.

I suggest, you can do that without changing any of the plugin files by just adding some extra code in your theme itself.

We have added js hook rtmedia_js_after_files_uploaded which get called after every media upload completed, using which you can update that media.