I am creating a plugin and would like to limit some JS to the write post/page screens only. I am currently using wp_print_scripts and admin_head to add the code but this adds it to *all* admin pages.
I seem to remember there being a way to limit this to specific pages without using PHP conditionals. Could someone point me in the correct direction?
- The topic ‘How do I limit admin_head content to certain pages?’ is closed to new replies.