PHP Class TitanFrameworkOptionSelect

Inheritance: extends TitanFrameworkOption
Afficher le fichier Open project: gambitph/titan-framework Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultSecondarySettings

Méthodes publiques

Méthode 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 méthode

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

display() public méthode

* Display for options and meta
public display ( )

init_select_script() public méthode

Initialize the select2 field
Since: 1.9.3
public init_select_script ( ) : void
Résultat void

load_select_scripts() public méthode

Register and load the select2 script
Since: 1.9.3
public load_select_scripts ( ) : void
Résultat void

registerCustomizerControl() public méthode

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

Property Details

$defaultSecondarySettings public_oe property

public $defaultSecondarySettings