PHP Class Kirki_Styles_Customizer, kirki

Afficher le fichier Open project: aristath/kirki Class Usage Examples

Méthodes publiques

Свойство 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.

Méthodes publiques

Méthode 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 méthode

Constructor.
public __construct ( )

custom_css() public méthode

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

customizer_styles() public méthode

Enqueue the stylesheets required.
public customizer_styles ( )

get_colors() public méthode

Gets the colors used.
public get_colors ( ) : null | void
Résultat null | void

include_stylesheets() public méthode

Get the stylesheets.
public include_stylesheets ( ) : string
Résultat string

replace_placeholders() public méthode

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

Property Details

$arrows_color public_oe property

Arrows Color.
public string $arrows_color
Résultat string

$border_color public_oe property

Border Color.
public string $border_color
Résultat string

$buttons_color public_oe property

Buttons Color.
public string $buttons_color
Résultat string

$color_accent public_oe property

Accent Color.
public string $color_accent
Résultat string

$color_accent_text public_oe property

Accent text Color.
public string $color_accent_text
Résultat string

$color_back public_oe property

Background Color.
public string $color_back
Résultat string

$color_font public_oe property

Font Color.
public string $color_font
Résultat string

$controls_color public_oe property

Controls Color.
public string $controls_color
Résultat string

$process public_oe property

Have we already processed styling?
public bool $process
Résultat boolean

$section_background_color public_oe property

Section Background Color.
public string $section_background_color
Résultat string