Checks if the user can use this control.
WP_Customize_Control::get_content
Get the control’s content for insertion into the Customizer pane.
WP_Customize_Control::maybe_render
Check capabilities and render the control.
WP_Customize_Control::__construct
Constructor.
Advertisement
WP_Customize_Control::print_template
Render the control’s JS template.
WP_Customize_Control::content_template
An Underscore (JS) template for this control’s content (but not its container).
WP_Customize_Control::active
Check whether control is active to current Customizer preview.
WP_Customize_Control::active_callback
Default callback used when invoking WP_Customize_Control::active().
Advertisement
WP_Customize_Control::value
Fetch a setting’s value.
WP_Customize_Control::to_json
Refresh the parameters passed to the JavaScript via JSON.
WP_Customize_Control::json
Get the data to export to the client via JSON.
WP_Customize_Control::check_capabilities
Checks if the user can use this control.
Advertisement
WP_Customize_Control::get_content
Get the control’s content for insertion into the Customizer pane.
WP_Customize_Control::maybe_render
Check capabilities and render the control.
WP_Customize_Control::render
Renders the control wrapper and calls $this->render_content() for the internals.