File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
classes/Visualizer/Render/Page Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -216,9 +216,13 @@ class="dashicons dashicons-lock"></span></h2>
216
216
</div>
217
217
</li>
218
218
219
- <li class="viz-group <?php echo apply_filters ( 'visualizer_pro_upsell_class ' , 'only-pro-feature ' ); ?> ">
219
+ <?php
220
+ // we will auto-open the manual data feature but only when pro is active.
221
+ $ pro_class = apply_filters ( 'visualizer_pro_upsell_class ' , 'only-pro-feature ' );
222
+ ?>
223
+ <li class="viz-group <?php echo $ pro_class ; ?> <?php echo empty ( $ pro_class ) ? 'open ' : '' ; ?> ">
220
224
<h2 class="viz-group-title viz-sub-group visualizer-editor-tab"
221
- data-current="chart"><?php _e ( 'Add data manually ' , 'visualizer ' ); ?> <span
225
+ data-current="chart"><?php _e ( 'Manual Data ' , 'visualizer ' ); ?> <span
222
226
class="dashicons dashicons-lock"></span></h2>
223
227
<form id="editor-form" action="<?php echo $ upload_link ; ?> " method="post" target="thehole">
224
228
<input type="hidden" id="chart-data" name="chart_data">
You can’t perform that action at this time.
0 commit comments