PHP 클래스 Kirki_Styles_Customizer, kirki

파일 보기 프로젝트 열기: aristath/kirki 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

custom_css() 공개 메소드

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

customizer_styles() 공개 메소드

Enqueue the stylesheets required.
public customizer_styles ( )

get_colors() 공개 메소드

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

include_stylesheets() 공개 메소드

Get the stylesheets.
public include_stylesheets ( ) : string
리턴 string

replace_placeholders() 공개 메소드

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

프로퍼티 상세

$arrows_color 공개적으로 프로퍼티

Arrows Color.
public string $arrows_color
리턴 string

$border_color 공개적으로 프로퍼티

Border Color.
public string $border_color
리턴 string

$buttons_color 공개적으로 프로퍼티

Buttons Color.
public string $buttons_color
리턴 string

$color_accent 공개적으로 프로퍼티

Accent Color.
public string $color_accent
리턴 string

$color_accent_text 공개적으로 프로퍼티

Accent text Color.
public string $color_accent_text
리턴 string

$color_back 공개적으로 프로퍼티

Background Color.
public string $color_back
리턴 string

$color_font 공개적으로 프로퍼티

Font Color.
public string $color_font
리턴 string

$controls_color 공개적으로 프로퍼티

Controls Color.
public string $controls_color
리턴 string

$process 공개적으로 프로퍼티

Have we already processed styling?
public bool $process
리턴 boolean

$section_background_color 공개적으로 프로퍼티

Section Background Color.
public string $section_background_color
리턴 string