I want to register a script with wordpress that will work on the backend. I thought any script I registered in my functions.php file would work but it only shows in the front end. Anyone any ideas how to do this?
Leave a Reply
You must be logged in to post a comment.
Try:
In addition to the answer above, sometimes we may need to add javascript to the footer of WordPress admin backend instead of in the head.
In this case, we will use the ‘admin_footer‘ hook instead of ‘admin_head‘.