Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to use wp_enqueue_script to load media.js from frond end. I use Win Grep searching through the whole WP dir, couldn't find which handle this media.js was registered. in this media.js , there's a function findpost.open , that's what I need. Could anybody tell the handle?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

The handle is media. View in source, line 403.

share|improve this answer
    
I believe for most of the javascript files, the filename is the same as the handle. –  Stephen Harris May 20 '12 at 16:08
    
Got it, thanks! However, it can't be loaded, firebug says forbidden. so, I have to copy it into my plugin dir to load it. –  Jenny May 20 '12 at 22:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.