• Hello,

    I’m working on theming my admin area and I was wondering if there were some hooks that permit to modify the contents placed inside iframes, such as the text editor, some of its plugins (like image edit) and the uploader.

    Mostly:

    1 – adding scripts & stylesheets inside iframe’s header (the same way we do by adding it to admin header). For now I’m making it using js & the !important css declaration but I’d rather use a hook.

    2 – inside the media uploader, making the click on the “save all changes” button redirection to another page than the gallery one. I think it would be by hooking the wp_media_upload_handler () function called inside the wp-admin/includes/media.php file which redirects to the gallery if a file is properly saved once downloaded.

    thanks 🙂

  • The topic ‘hooks for admin iframes (thickbox & tinymce)’ is closed to new replies.