| @@ -153,23 +153,10 @@ | ||
| 153 | 153 | $this, |
| 154 | 154 | 'disco_display_plugin_admin_page_create_campaign', |
| 155 | 155 | ) |
| 156 | 156 | ); |
| 157 | - | |
| 158 | 157 | add_submenu_page( |
| 159 | 158 | 'disco-create-discount', |
| 160 | - __( 'Analytics', 'disco' ), | |
| 161 | - __( 'Analytics', 'disco' ) . ' <span class="disco-beta-badge">' . __( 'Beta', 'disco' ) . '</span>', | |
| 162 | - 'manage_woocommerce', | |
| 163 | - 'disco-analytics', | |
| 164 | - array( | |
| 165 | - $this, | |
| 166 | - 'disco_display_plugin_admin_page_analytics', | |
| 167 | - ) | |
| 168 | - ); | |
| 169 | - | |
| 170 | - add_submenu_page( | |
| 171 | - 'disco-create-discount', | |
| 172 | 159 | __( 'Settings', 'disco' ), |
| 173 | 160 | __( 'Settings', 'disco' ), |
| 174 | 161 | 'manage_woocommerce', |
| 175 | 162 | 'disco-settings', |
| @@ -199,9 +186,8 @@ | ||
| 199 | 186 | $this, |
| 200 | 187 | 'disco_display_plugin_admin_page_help_and_docs', |
| 201 | 188 | ) |
| 202 | 189 | ); |
| 203 | - | |
| 204 | 190 | if ( ! Disco::is_pro() ) { |
| 205 | 191 | add_submenu_page( |
| 206 | 192 | 'disco-create-discount', |
| 207 | 193 | __( 'Pro Plan', 'disco' ), |
| @@ -292,17 +278,7 @@ | ||
| 292 | 278 | * @since 1.0.0 |
| 293 | 279 | */ |
| 294 | 280 | public function disco_display_plugin_admin_page_compatible_plugin_list() { |
| 295 | 281 | include_once DISCO_PLUGIN_ROOT . 'backend/views/compatible_plugin_list.php'; |
| 296 | - } | |
| 297 | - | |
| 298 | - /** | |
| 299 | - * Render the Analytics page for this plugin. | |
| 300 | - * | |
| 301 | - * @return void | |
| 302 | - * @since 1.0.0 | |
| 303 | - */ | |
| 304 | - public function disco_display_plugin_admin_page_analytics() { | |
| 305 | - include_once DISCO_PLUGIN_ROOT . 'backend/views/analytics.php'; | |
| 306 | 282 | } |
| 307 | 283 | |
| 308 | 284 | } |