Hotaru Docs

 [həʊdɒks]

Function Reference/includeCss

Description

Provides plugins and themes with the ability to include a .css file into the minimized .css file, generated by Hotaru.

Usage

<?php $h->includeCss( $folder, $filename ) ?>

Parameters

$folder | string (default = '') If located in a plugin, the plugin, else, the filename $filename | string (default = '') If located in a plugin, the file

Note: Omit the .css extension in the filename!

Return Values

boolean true.

Examples

<?php
     $h->includeCss('myspecialcssfile'); //Includes css/myspecialcssfile.css
     $h->includeCss('my_plugin','myspecialcssfile'); //Includes my_plugin/css/myspecialcssfile.css
?>

Source File

includeCss() is located in Hotaru.php.

Related