How do I limit admin_head content to certain pages?
-
Hi,
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?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How do I limit admin_head content to certain pages?’ is closed to new replies.