We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf3aa4 commit 4df64b4Copy full SHA for 4df64b4
classes/Visualizer/Module/Frontend.php
@@ -353,6 +353,10 @@ public function renderChart( $atts ) {
353
return '<div id="' . $id . '"' . $this->getHtmlAttributes( $attributes ) . '>' . wp_get_attachment_image( $chart_image, 'full' ) . '</div>';
354
}
355
356
+ // Unset chart image base64 string.
357
+ if ( isset( $settings['chart-img'] ) ) {
358
+ unset( $settings['chart-img'] );
359
+ }
360
361
// add chart to the array
362
$this->_charts[ $id ] = array(
0 commit comments