I am using WordPress 3.1.4 by now. I am confused with where (which hook) do I use:
What is the idea way to register/enqueue scripts and/or styles for use in plugins?
Currently I’m working on a theme, and did some styles and scripts enqueue. When enqueued the scripts, I used wp_register_script() first, and then enqueued with…
How do I enqueue a .css file before style.css is loaded? Or make the default style.css dependant on another .css file?
Is it possible to test whether a script or a style was registered using
wp_enqueue_script/_style? All functions doesn’t return a value and I’m completely clueless.