[theme-reviewers] wp_enqueue_style

Chip Bennett chip at chipbennett.net
Fri Jun 3 12:17:42 UTC 2011


But note the example
usage<http://codex.wordpress.org/Function_Reference/wp_enqueue_style#Using_a_Hook>:
wp_enqueue_style() hooked into 'wp_print_styles'.

Why, oh why, is there no 'wp_enqueue_styles'...?

In any case, I'll switch my own Theme's code accordingly. It's not exactly
*semantic*, but it makes sense logically, that if a 'wp_enqueue_styles' hook
*did* exist, it would exist at the same location as 'wp_enqueue_scripts'.

Chip

On Fri, Jun 3, 2011 at 7:01 AM, Otto <otto at ottodestruct.com> wrote:

> On Fri, Jun 3, 2011 at 6:54 AM, James Laws <jamielaws at gmail.com> wrote:
> > Otto, I realize that the Codex is a wiki but this page seems to think
> there
> > is a
> > wp_enqueue_style.
> http://codex.wordpress.org/Function_Reference/wp_enqueue_style
> > Am I missing something?
>
> That's a function, not an action hook.
>
> -Otto
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110603/a65b997c/attachment.htm>


More information about the theme-reviewers mailing list