| @@ -138,16 +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 | + if ( in_array( $feature, $biz_features, true ) ) { | |
| 143 | + $msg = sprintf( __( 'Upgrade to %s plan to activate this feature!', 'visualizer' ), 'Developer' ); | |
| 144 | 144 | } |
| 145 | 145 | $return = '<div class="only-pro-content">'; |
| 146 | 146 | $return .= ' <div class="only-pro-container">'; |
| 147 | 147 | $return .= ' <div class="only-pro-inner">'; |
| 148 | 148 | $return .= ' <p>' . $msg . '</p>'; |
| 149 | - $return .= ' <a target="_blank" href="' . tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, esc_attr( $feature ) ) . '" title="' . __( 'Buy now', 'visualizer' ) . '">' . __( 'Buy now', 'visualizer' ) . '</a>'; | |
| 149 | + $return .= ' <a target="_blank" href="' . tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, esc_attr( $feature ) ) . '" title="' . __( 'Upgrade Now', 'visualizer' ) . '">' . __( 'Upgrade Now', 'visualizer' ) . '</a>'; | |
| 150 | 150 | $return .= ' </div>'; |
| 151 | 151 | $return .= ' </div>'; |
| 152 | 152 | $return .= '</div>'; |
| 153 | 153 | } |