I am engaged on plugin that optionally manipulates uploaded content material (pictures). I managed so as to add some extra fields on “Insert media” popup beneath “Drop recordsdata wherever to add” textual content, however I have to ship these parameters with file content material to async-upload.php
when importing.
Pre WP v3.3, I have been utilizing this to achive desired outcomes:
jQuery('enter:textual content[name="custom_text"]').keyup(perform() {
wpUploaderInit.multipart_params.custom_text = jQuery(this).val();
});