[php] added wp hook, scripts sent to footer were not displaying