embedding js on wp admin footer problem
-
Hi, I am currently having problem to embed external js to WP back-end footer. I used
wp_enqueue_script
function for this purpose, as this function as I know is the best practice of adding js to a WP generated page and it called viaadmin-footer-$page
hook. Somehow this workaround not giving any results. But if I simplyecho
the scripts replacing thewp_enqueue_scripts
it does work perfectly. I only want to know if there is problem with the way of adding scripts to footer viawp_enqueue_script
or there is another appropriate way beside just doingecho
. Here is my code (on plugin):
- The topic ‘embedding js on wp admin footer problem’ is closed to new replies.