PHP Class TitanFrameworkOptionText

Inheritance: extends TitanFrameworkOption
显示文件 Open project: gambitph/titan-framework

Public Properties

Property Type Description
$defaultSecondarySettings array Default settings specific for this option

Public Methods

Method Description
cleanValueForSaving ( string $value ) Cleans the value before saving the option
display ( ) Display for options and meta
registerCustomizerControl ( WP_Customize $wp_customize, TitanFrameworkCustomizer $section, integer $priority = 1 ) Display for theme customizer

Method Details

cleanValueForSaving() public method

Cleans the value before saving the option
public cleanValueForSaving ( string $value )
$value string The value of the option.

display() public method

Display for options and meta
public display ( )

registerCustomizerControl() public method

Display for theme customizer
public registerCustomizerControl ( WP_Customize $wp_customize, TitanFrameworkCustomizer $section, integer $priority = 1 )
$wp_customize WP_Customize The customizer object.
$section TitanFrameworkCustomizer The customizer section.
$priority integer The display priority of the control.

Property Details

$defaultSecondarySettings public_oe property

Default settings specific for this option
public array $defaultSecondarySettings
return array