Prev |  | Next

### 3.3.4. css_filter

(Phorum 5 >= 5.2.11)

This hook can be used to apply a filter to the Phorum CSS code. This can for example be used for compressing or cleaning up the CSS.

Call time:

Right after the css.php script has generated a new CSS file and right before storing that file in the cache. The filter hook will not be run for every request to css.php, but only in case the CSS code has to be refreshed.

Hook input:

The generated CSS code.

Hook output:

The filtered CSS code.

Prev | Up | Next
| Home |