PHP Class Kirki_Styles_Customizer, kirki

Show file Open project: aristath/kirki Class Usage Examples

Public Properties

Property Type Description
$arrows_color string Arrows Color.
$border_color string Border Color.
$buttons_color string Buttons Color.
$color_accent string Accent Color.
$color_accent_text string Accent text Color.
$color_back string Background Color.
$color_font string Font Color.
$controls_color string Controls Color.
$process boolean Have we already processed styling?
$section_background_color string Section Background Color.

Public Methods

Method Description
__construct ( ) Constructor.
custom_css ( ) Add custom CSS rules to the head, applying our custom styles.
customizer_styles ( ) Enqueue the stylesheets required.
get_colors ( ) : null | void Gets the colors used.
include_stylesheets ( ) : string Get the stylesheets.
replace_placeholders ( string $styles ) : string Replaces CSS placefolders with our settings.

Method Details

__construct() public method

Constructor.
public __construct ( )

custom_css() public method

Add custom CSS rules to the head, applying our custom styles.
public custom_css ( )

customizer_styles() public method

Enqueue the stylesheets required.
public customizer_styles ( )

get_colors() public method

Gets the colors used.
public get_colors ( ) : null | void
return null | void

include_stylesheets() public method

Get the stylesheets.
public include_stylesheets ( ) : string
return string

replace_placeholders() public method

Replaces CSS placefolders with our settings.
public replace_placeholders ( string $styles ) : string
$styles string The CSS.
return string

Property Details

$arrows_color public property

Arrows Color.
public string $arrows_color
return string

$border_color public property

Border Color.
public string $border_color
return string

$buttons_color public property

Buttons Color.
public string $buttons_color
return string

$color_accent public property

Accent Color.
public string $color_accent
return string

$color_accent_text public property

Accent text Color.
public string $color_accent_text
return string

$color_back public property

Background Color.
public string $color_back
return string

$color_font public property

Font Color.
public string $color_font
return string

$controls_color public property

Controls Color.
public string $controls_color
return string

$process public property

Have we already processed styling?
public bool $process
return boolean

$section_background_color public property

Section Background Color.
public string $section_background_color
return string