W3cubDocs

/WordPress

WP_Customize_Image_Control::to_json()

Refresh the parameters passed to the JavaScript via JSON.

Source

File: wp-includes/class-wp-customize-control.php

<?php echo $describedby_attr; ?>
					<?php $this->input_attrs(); ?>
					<?php if ( ! isset( $this->input_attrs['value'] ) ) : ?>
						value="<?php echo esc_attr( $this->value() ); ?>"

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_image_control/to_json