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.
2 parents 0c01913 + 799af68 commit 1231d31Copy full SHA for 1231d31
classes/Visualizer/Module/Chart.php
@@ -769,7 +769,10 @@ public function renderFlattrScript() {
769
*/
770
private function handleCSVasString( $data ) {
771
$source = null;
772
- if ( VISUALIZER_PRO ) {
+
773
+ // do not check for VISUALIZER_PRO here as that is false:
774
+ // @issue https://github.com/Codeinwp/visualizer/issues/412
775
+ if ( has_filter( 'visualizer_pro_handle_chart_data' ) ) {
776
$source = apply_filters( 'visualizer_pro_handle_chart_data', $data, '' );
777
} else {
778
// data coming in from the text editor.
0 commit comments