WordPress.org

Support

Support » Plugins and Hacks » alternative to wp_head

alternative to wp_head

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    I didn’t want my plugin to fail in some themes.

    I wouldn’t worry about that too much, those themes that don’t include wp_head() will not work with LOTS of plugins. 😉

    If you want, you could hook into

    add_action( 'loop_start' , 'your_function_here' );

    But loops run all the time and wouldn’t get into the head portion. Depending on your code, that trick may not work.

Viewing 1 replies (of 1 total)
  • The topic ‘alternative to wp_head’ is closed to new replies.