Hotaru Docs


Header include Versus header include raw

There are two different ways to include code in the page 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.

Getting StartedDesign and LayoutPlugin DevelopmentAdvanced TopicsFunction ReferenceTroubleshooting