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 9f1cd83 commit e2f16acCopy full SHA for e2f16ac
classes/Visualizer/Render/Layout.php
@@ -872,7 +872,11 @@ class="dashicons dashicons-lock"></span></h2>
872
<input type="button" id="existing-chart" class="button button-primary"
873
value="<?php _e( 'Import Chart', 'visualizer' ); ?>"
874
data-viz-link="<?php echo $fetch_link; ?>">
875
- <?php echo apply_filters( 'visualizer_pro_upsell', '', 'import-chart' ); ?>
+ <?php
876
+ if ( ! Visualizer_Module_Admin::proFeaturesLocked() ) {
877
+ echo apply_filters( 'visualizer_pro_upsell', '', 'import-chart' );
878
+ }
879
+ ?>
880
</div>
881
882
</li>
0 commit comments