PHP Class TitanFrameworkOptionSelect

Inheritance: extends TitanFrameworkOption
Show file Open project: gambitph/titan-framework Class Usage Examples

Public Properties

Property Type Description
$defaultSecondarySettings

Public Methods

Method Description
__construct ( array $settings, string $owner ) Constructor
display ( ) * Display for options and meta
init_select_script ( ) : void Initialize the select2 field
load_select_scripts ( ) : void Register and load the select2 script
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) * Display for theme customizer

Method Details

__construct() public method

Constructor
Since: 1.9.3
public __construct ( array $settings, string $owner )
$settings array Option settings
$owner string Namespace

display() public method

* Display for options and meta
public display ( )

init_select_script() public method

Initialize the select2 field
Since: 1.9.3
public init_select_script ( ) : void
return void

load_select_scripts() public method

Register and load the select2 script
Since: 1.9.3
public load_select_scripts ( ) : void
return void

registerCustomizerControl() public method

* Display for theme customizer
public registerCustomizerControl ( $wp_customize, $section, $priority = 1 )

Property Details

$defaultSecondarySettings public property

public $defaultSecondarySettings