\GE_Collector

GE_Collector collect JS and CSS for themes and exports them

Summary

Methods
Properties
Constants
get_all_css()
export_css()
get_all_js()
export_js()
get_skins()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_all_css()

get_all_css(  $theme_slug) : String

Returns css of all skins

Parameters

$theme_slug

Returns

String

export_css()

export_css(  $theme_slug) : boolean

Saves file with all css rules

Parameters

$theme_slug

Returns

boolean

get_all_js()

get_all_js(  $theme_slug) : String

Returns js of all skins

Parameters

$theme_slug

Returns

String

export_js()

export_js(  $theme_slug) : boolean

Saves file with all js

Parameters

$theme_slug

Returns

boolean

get_skins()

get_skins(String  $skin_type) : array

Returns array of all skins indexed by skin id

Parameters

String $skin_type

block type of skins

Returns

array