[wp-hackers] wp_register_script() vs. wp_enqueue_script()?

Mike Schinkel mikeschinkel at newclarity.net
Wed Jan 21 17:35:19 GMT 2009


Hi all:

When, if ever, should I call wp_register_script() vs. just calling wp_enqueue_script()?  The same question applies to the *_style() versions as well.

Is wp_register_script() just something to call in core WP to create shortcuts for standard scripts/styles?

Thanks in advance.

-Mike Schinkel
http://mikeschinkel.com/


More information about the wp-hackers mailing list