/** * Refresh the parameters passed to the JavaScript via JSON. * * @since 4.3.0 * @access public * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['width'] = absint($this->width); $this->json['height'] = absint($this->height); $this->json['flex_width'] = absint($this->flex_width); $this->json['flex_height'] = absint($this->flex_height); }
public function to_json() { parent::to_json(); }
/** * TODO: Is this function necessary? */ public function to_json() { // Just calling the parent to_json method here parent::to_json(); }