Title: admin_print_scripts-media-upload.php
Last modified: August 20, 2016

---

# admin_print_scripts-media-upload.php

 *  [toneburst](https://wordpress.org/support/users/toneburst/)
 * (@toneburst)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/admin_print_scripts-media-uploadphp/)
 * Hi,
 * I can get ‘admin_print_scripts-‘ to work.
 *     ```
       add_action( 'admin_print_scripts-media.php', array( &$ELLGmapKML, 'kml_print_admin_scripts' ) );
   
       add_action( 'admin_print_scripts-media-upload.php', array( &$ELLGmapKML, 'kml_print_admin_scripts' ) );
       ```
   
 * The first one works- ie scripts are added to the media.php page, but not with
   the 2nd hook- scripts are not added to the media-upload.php page. Is there another
   way to make this work? I’ve tried using wp_print_scripts and wp_enqueue_script
   to try and actually insert the scripts, but neither works.
 * Any tips, anyone?
 * a|x

Viewing 1 replies (of 1 total)

 *  Thread Starter [toneburst](https://wordpress.org/support/users/toneburst/)
 * (@toneburst)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/admin_print_scripts-media-uploadphp/#post-2631221)
 * Anyone?
 * a|x

Viewing 1 replies (of 1 total)

The topic ‘admin_print_scripts-media-upload.php’ is closed to new replies.

## Tags

 * [enqueue_script](https://wordpress.org/support/topic-tag/enqueue_script/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [toneburst](https://wordpress.org/support/users/toneburst/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/admin_print_scripts-media-uploadphp/#post-2631221)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
