[wp-hackers] Using wp-content/uploads to store dynamically created js and CSS

Otto otto at ottodestruct.com
Thu Jul 31 16:36:56 UTC 2014

On Thu, Jul 31, 2014 at 8:05 AM, Nicola Peluchetti <
nicola.peluchetti at gmail.com> wrote:

> Otto,
> if i choose to ouput the CSS directly in the page without triggering
> another request, what's the best action to use, wp_head?
> http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
For inline CSS, I'd really recommend adding it using the
wp_add_inline_style() function.



More information about the wp-hackers mailing list