‘edit_user_profile’ runs long after the head has been closed. Its not going to insert anything into the head section of the page. You should be looking at wp_enqueue_script, admin_head, and admin_print_scripts.
Viewing 1 replies (of 1 total)
The topic ‘Adding javascript to header’ is closed to new replies.