Skip to content

Filter individual files #2

@lukemorton

Description

@lukemorton

Should be able to filter individual files before applying group filters. Probably in the following fashion:

$less = new Asset_Less('css/print.less', array('media' => 'print'));
$less->add_filter('Less');
$css = $less->filter(); // now a Asset_CSS is returned
echo $css;

Although perhaps the $less->html() method could filter and echo the Asset_CSS version itself. Not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions