Property | Type | Description | |
---|---|---|---|
$defaultSecondarySettings | Default settings specific to this option |
Method | Description | |
---|---|---|
__construct ( $settings, $owner ) | Constructor | |
cleanValueForGetting ( string $value ) : string | Cleans the raw value for getting | |
cleanValueForSaving ( string $value ) : string | Cleans up the serialized value before saving | |
createSortableScript ( ) : void | Creates the javascript needed for sortable to run | |
display ( ) : void | Displays the option in admin panels and meta boxes | |
enqueueSortable ( ) : 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 ) : string | ||
$value | string | The raw value |
return | string | The cleaned value |
public cleanValueForSaving ( string $value ) : string | ||
$value | string | The serialized value |
return | string | The cleaned value |
public static createSortableScript ( ) : void | ||
return | void |
public enqueueSortable ( ) : void | ||
return | 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 |
return | void |