Свойство | Type | Description | |
---|---|---|---|
$defaultSecondarySettings | Default settings specific to this option |
Méthode | Description | |
---|---|---|
__construct ( $settings, $owner ) | Constructor | |
cleanValueForGetting ( string $value ) : mixes | Cleans the value for getOption | |
cleanValueForSaving ( string $value ) : string | Cleans up the serialized value before saving | |
createSliderScript ( ) : void | Prints out the script the initializes the jQuery slider | |
display ( ) : void | Displays the option for admin pages and meta boxes | |
enqueueSlider ( ) : void | Enqueues the jQuery UI scripts | |
registerCustomizerControl ( $wp_customize, TitanFrameworkCustomizerSection $section, integer $priority = 1 ) : void | Registers the theme customizer control, for displaying the option |
public cleanValueForGetting ( string $value ) : mixes | ||
$value | string | The raw value of the option |
Résultat | mixes | The cleaned value |
public cleanValueForSaving ( string $value ) : string | ||
$value | string | The serialized value |
Résultat | string | The cleaned value |
public static createSliderScript ( ) : void | ||
Résultat | void |
public enqueueSlider ( ) : void | ||
Résultat | void |
public registerCustomizerControl ( $wp_customize, TitanFrameworkCustomizerSection $section, integer $priority = 1 ) : void | ||
$section | TitanFrameworkCustomizerSection | The section where this option will be placed |
$priority | integer | The order of this control in the section |
Résultat | void |