CustomizeSection
extends WP_Customize_Section
in package
Extend the core customize section class.
Table of Contents
Properties
- $customParams : array<string|int, mixed>
- Allows to pass custom params to the customizer so it can be retrieved via:
Methods
- json() : mixed
Properties
$customParams
Allows to pass custom params to the customizer so it can be retrieved via:
public
array<string|int, mixed>
$customParams
wp.customize.section("my-section", function(({ params: { customParams } })) {
console.log(customParams);
})
Methods
json()
public
json() : mixed