| @@ -138,11 +138,16 @@ | ||
| 138 | 138 | ( in_array( $feature, $biz_features, true ) && ! apply_filters( 'visualizer_is_business', false ) ) || |
| 139 | 139 | ( in_array( $feature, $pro_features, true ) && ! Visualizer_Module::is_pro() ) |
| 140 | 140 | ) { |
| 141 | 141 | $msg = sprintf( __( 'Upgrade to %s to activate this feature!', 'visualizer' ), 'PRO' ); |
| 142 | - if ( Visualizer_Module::is_pro() && in_array( $feature, $biz_features, true ) ) { | |
| 143 | - $msg = sprintf( __( 'Upgrade your license to at least the %s version to activate this feature!', 'visualizer' ), 'DEVELOPER' ); | |
| 142 | + $plus_msg = sprintf( __( 'Upgrade to %s plan to activate this feature!', 'visualizer' ), 'Plus' ); | |
| 143 | + if ( in_array( $feature, $biz_features, true ) && Visualizer_Module::is_pro() ) { | |
| 144 | + $msg = $plus_msg; | |
| 144 | 145 | } |
| 146 | + if ( in_array( $feature, [ 'db-query', 'chart-permissions' ], true ) ) { | |
| 147 | + $msg = $plus_msg; | |
| 148 | + } | |
| 149 | + | |
| 145 | 150 | $return = '<div class="only-pro-content">'; |
| 146 | 151 | $return .= ' <div class="only-pro-container">'; |
| 147 | 152 | $return .= ' <div class="only-pro-inner">'; |
| 148 | 153 | $return .= ' <p>' . $msg . '</p>'; |