Created
March 7, 2012 15:37
-
-
Save smonteverdi/1993843 to your computer and use it in GitHub Desktop.
Link to Javascript in Admin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function plugin_admin_head_js() { | |
print "<script type='text/javascript' src='linktoyourjs.js'></script>"; | |
} | |
add_action('admin_head', 'plugin_admin_head_js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment