WPDev.one
Core Class

WP_Customize_Code_Editor_Control

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

Customize Code Editor Control class.

Methods 4 methods

Method / Return Description
enqueue()
void

Enqueue control related scripts/styles.

json()
array

Refresh the parameters passed to the JavaScript via JSON.

render_content()
void

Don't render the control content from PHP, as it's rendered via JS on load.

content_template()
void

Render a JS template for control display.

Properties

Property / Type Description
$type
mixed
public
No description available.
$code_type
mixed
public
No description available.
$editor_settings
mixed
public
No description available.

Class Information

Since Version
4.9.0
Source File
wp-includes/customize/class-wp-customize-code-editor-control.php
Advertisement