WPDev.one
Core Class

WP_Customize_Section

class WP_Customize_Section // Constructor: function Object() { [native code] }

Customize Section class.

Methods 10 methods

Method / Return Description
__construct()
void

Constructor.

Parameters: $manager: mixed, $id: mixed, $args: mixed
active()
bool

Check whether section is active to current Customizer preview.

active_callback()
true

Default callback used when invoking WP_Customize_Section::active().

json()
array

Gather the parameters passed to client JavaScript via JSON.

check_capabilities()
bool

Checks required user capabilities and whether the theme has the

get_content()
string

Get the section's content for insertion into the Customizer pane.

maybe_render()
void

Check capabilities and render the section.

render()
void

Render the section UI in a subclass.

print_template()
void

Render the section's JS template.

render_template()
void

An Underscore (JS) template for rendering this section.

Properties

Property / Type Description
$instance_count
mixed
public
No description available.
$instance_number
mixed
public
No description available.
$manager
mixed
public
No description available.
$id
mixed
public
No description available.
$priority
mixed
public
No description available.
$panel
mixed
public
No description available.
$capability
mixed
public
No description available.
$theme_supports
mixed
public
No description available.
$title
mixed
public
No description available.
$description
mixed
public
No description available.
$controls
mixed
public
No description available.
$type
mixed
public
No description available.
$active_callback
mixed
public
No description available.
$description_hidden
mixed
public
No description available.

Class Information

Since Version
3.4.0
Source File
wp-includes/class-wp-customize-section.php
Advertisement