admin_print_scripts-media-upload.php
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘admin_print_scripts-media-upload.php’ is closed to new replies.