[theme-reviewers] wp_enqueue_style

Edward Caissie edward.caissie at gmail.com
Fri Jun 3 12:40:56 UTC 2011


I guess I should have looked further into this before re-coding my plugins,
as this applies to them as well, to use `wp-print-styles` and
`wp-print-scripts` ...

... thanks for the extra work, Otto (*grin*)


Cais.

PS: It does make much more sense after reading the whole thread, too. EAC

On Fri, Jun 3, 2011 at 8:17 AM, Chip Bennett <chip at chipbennett.net> wrote:

> 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
>>
>
>
> _______________________________________________
> 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/94712382/attachment.htm>


More information about the theme-reviewers mailing list