Skip to content

Instantly share code, notes, and snippets.

@smonteverdi
Created March 7, 2012 15:37
Show Gist options
  • Save smonteverdi/1993843 to your computer and use it in GitHub Desktop.
Save smonteverdi/1993843 to your computer and use it in GitHub Desktop.
Link to Javascript in Admin
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