[wp-hackers] Hook into load-styles.php / load-scripts.php "queue"?
office at wpseek.com
Tue Dec 1 21:04:33 UTC 2009
That would be worth a try, thanks!
Although the codex example of wp_register_script is in combination with
wp_enqueue_script which would result in an extra <script reference
But let's see. I'll report back.
On 01.12.2009 21:16, Mohammad Jangda wrote:
>> I was just curious. Is it possible to hook into load-styles.php /
> load-scripts.php to load a custom CSS/JS file the same way WP loads the
> loaded minified/merged in load-scripts.php.
> Haven't looked into it deeply enough, but *wp_register_script* should work.
> wp_register_script( $handle, $src, $deps = array(), $ver = false,
> $in_footer = false )
> Mohammad Jangda
> www.digitalize.ca | @mjangda
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers