PHP 클래스 Kirki_Settings_Repeater_Setting, kirki

상속: extends WP_Customize_Setting
파일 보기 프로젝트 열기: aristath/kirki

공개 메소드들

메소드 설명
__construct ( WP_Customize_Manager $manager, string $id, array $args = [] ) Constructor.
sanitize_repeater_setting ( string $value ) : array Convert the JSON encoded setting coming from Customizer to an Array.
value ( ) : mixed Fetch the value of the setting.

메소드 상세

__construct() 공개 메소드

Any supplied $args override class property defaults.
public __construct ( WP_Customize_Manager $manager, string $id, array $args = [] )
$manager WP_Customize_Manager The WordPress WP_Customize_Manager object.
$id string A specific ID of the setting. Can be a theme mod or option name.
$args array Setting arguments.

sanitize_repeater_setting() 공개 메소드

Convert the JSON encoded setting coming from Customizer to an Array.
public sanitize_repeater_setting ( string $value ) : array
$value string URL Encoded JSON Value.
리턴 array

value() 공개 메소드

Fetch the value of the setting.
public value ( ) : mixed
리턴 mixed The value.