1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Docs] header_include Versus header_include_raw

Discussion in 'Developing Plugins' started by Nick, Sep 24, 2009.

  1. Nick

    Nick Well-Known Member

    There are two different ways to include code in the header using these plugin hooks:

    header_include should be used for including css and JavaScript files. Hotaru will take these files from all active plugins and combine them into a single merged file. This is done to improve performance.

    header_include_raw is for code you want to add directly between the <head> and </head> tags of the page. You might use this for meta tags or small snippets of CSS and JavaScript.

Share This Page