WP_Widget_Form_Customize_Control::render_content() WordPress Method
The WP_Widget_Form_Customize_Control::render_content() method is used to render the content for a form control in the Customizer. The method takes two arguments: the $args array, which contains the settings for the control, and the $instance array, which contains the data for the control. The method first checks if the control has a title, and if so, it renders the title. Next, the method checks if the control has a description, and if so, it renders the description. Finally, the method renders the form control.
WP_Widget_Form_Customize_Control::render_content() #
Override render_content to be no-op since content is exported via to_json for deferred embedding.
Source
File: wp-includes/customize/class-wp-widget-form-customize-control.php
public function render_content() {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |