@@ -174,7 +174,7 @@ protected function _renderAdvancedSettings() {
174174 // Chart control settings.
175175 $ this ->_renderChartControlsGroup ();
176176
177- if ( Visualizer_Module_Admin::proFeaturesLocked () ) {
177+ if ( Visualizer_Module_Admin::proFeaturesEnabled () ) {
178178 self ::_renderGroupStart ( esc_html__ ( 'Frontend Actions ' , 'visualizer ' ) );
179179 } else {
180180 self ::_renderGroupStart ( esc_html__ ( 'Frontend Actions ' , 'visualizer ' ) . '<span class="dashicons dashicons-lock"></span> ' , '' , apply_filters ( 'visualizer_pro_upsell_class ' , 'only-pro-feature ' , 'chart-frontend-actions ' ), 'vz-frontend-actions ' );
@@ -185,7 +185,7 @@ protected function _renderAdvancedSettings() {
185185 self ::_renderSectionEnd ();
186186
187187 $ this ->_renderActionSettings ();
188- if ( ! Visualizer_Module_Admin::proFeaturesLocked () ) {
188+ if ( ! Visualizer_Module_Admin::proFeaturesEnabled () ) {
189189 echo apply_filters ( 'visualizer_pro_upsell ' , '' , 'frontend-actions ' );
190190 echo '</div> ' ;
191191 }
@@ -602,7 +602,7 @@ protected function _renderChartControlsGroup() {
602602 if ( 'google ' !== $ this ->getLibrary () ) {
603603 return ;
604604 }
605- if ( Visualizer_Module_Admin::proFeaturesLocked () ) {
605+ if ( Visualizer_Module_Admin::proFeaturesEnabled () ) {
606606 self ::_renderGroupStart ( esc_html__ ( 'Chart Data Filter Configuration ' , 'visualizer ' ) );
607607 } else {
608608 self ::_renderGroupStart ( esc_html__ ( 'Chart Data Filter Configuration ' , 'visualizer ' ) . '<span class="dashicons dashicons-lock"></span> ' , '' , apply_filters ( 'visualizer_pro_upsell_class ' , 'only-pro-feature ' , 'chart-filter-controls ' ), 'vz-data-controls ' );
@@ -619,7 +619,7 @@ protected function _renderChartControlsGroup() {
619619 );
620620 self ::_renderSectionEnd ();
621621 $ this ->_renderChartControlsSettings ();
622- if ( ! Visualizer_Module_Admin::proFeaturesLocked () ) {
622+ if ( ! Visualizer_Module_Admin::proFeaturesEnabled () ) {
623623 echo apply_filters ( 'visualizer_pro_upsell ' , '' , 'data-filter-configuration ' );
624624 echo '</div> ' ;
625625 }
0 commit comments