WPLessPlugin::getQueuedStylesToProcess PHP Method

getQueuedStylesToProcess() protected method

Find any style to process
Since: 1.0
Author: oncletom
protected getQueuedStylesToProcess ( ) : array
return array styles to process
    protected function getQueuedStylesToProcess()
    {
        $wp_styles = $this->getStyles();
        $to_process = array();
        foreach ((array) $wp_styles->queue as $style_id) {
            if (preg_match(self::$match_pattern, $wp_styles->registered[$style_id]->src)) {
                $to_process[] = $style_id;
            }
        }
        return apply_filters('wp-less_get_queued_styles_to_process', $to_process);
    }