WordPress.org

Ready to get started?Download WordPress

Forums

hooks for admin iframes (thickbox & tinymce) (1 post)

  1. nineam
    Member
    Posted 2 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic