Custom Text in Media Uploader in a Theme Options Page
This is a short version of what I do in one of my plugins. I copied this behavior from the plugin Advanced Custom Fields (some versions ago, donnow how it proceeds now). 1) When calling the thickbox, add a custom query var (mtt_type in this case): tb_show(‘{$mtt_title}’, ‘media-upload.php?type=image&mtt_type=image&TB_iframe=true’); 2) Print scripts in media-upload.php to modify … Read more