[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

Customize API: WP_Widget_Form_Customize_Control class

File Size: 140 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/widgets.php

Defines 1 class

WP_Widget_Form_Customize_Control:: (3 methods):
  to_json()
  render_content()
  active_callback()


Class: WP_Widget_Form_Customize_Control  - X-Ref

Widget Form Customize Control class.

to_json()   X-Ref
Gather control params for exporting to JavaScript.


render_content()   X-Ref
Override render_content to be no-op since content is exported via to_json for deferred embedding.


active_callback()   X-Ref
Whether the current widget is rendered on the page.

return: bool Whether the widget is rendered.



Generated: Tue Oct 22 08:20:01 2019 Cross-referenced by PHPXref 0.7