[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/customize/ -> class-wp-customize-color-control.php (summary)

Customize API: WP_Customize_Color_Control class

File Size: 119 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Customize_Color_Control:: (5 methods):
  __construct()
  enqueue()
  to_json()
  render_content()
  content_template()


Class: WP_Customize_Color_Control  - X-Ref

Customize Color Control class.

__construct( $manager, $id, $args = array()   X-Ref
Constructor.

param: WP_Customize_Manager $manager Customizer bootstrap instance.
param: string               $id      Control ID.
param: array                $args    Optional. Arguments to override class property defaults.
since: 3.4.0

enqueue()   X-Ref
Enqueue scripts/styles for the color picker.

since: 3.4.0

to_json()   X-Ref
Refresh the parameters passed to the JavaScript via JSON.

since: 3.4.0

render_content()   X-Ref
Don't render the control content from PHP, as it's rendered via JS on load.

since: 3.4.0

content_template()   X-Ref
Render a JS template for the content of the color picker control.

since: 4.1.0



Generated: Wed Aug 21 01:00:03 2019 Cross-referenced by PHPXref 0.7.1