| @@ -1,12 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Better_Payment\Lite; |
| 4 | 4 | |
| 5 | -use Better_Payment\Lite\Admin\Settings; | |
| 6 | 5 | use Better_Payment\Lite\Admin\ReactAdmin; |
| 7 | 6 | use Better_Payment\Lite\Admin\Elementor\Widget; |
| 8 | -use Better_Payment\Lite\Admin\Menu; | |
| 9 | 7 | use Better_Payment\Lite\Classes\Helper; |
| 10 | 8 | use Better_Payment\Lite\Classes\Export; |
| 11 | 9 | use Better_Payment\Lite\Classes\Import; |
| 12 | 10 | use PriyoMukul\WPNotice\Notices; |
| @@ -44,9 +42,8 @@ | ||
| 44 | 42 | public function init(){ |
| 45 | 43 | $this->pro_enabled = apply_filters('better_payment/pro_enabled', false); |
| 46 | 44 | |
| 47 | 45 | new ReactAdmin(); |
| 48 | - // new Settings(); | |
| 49 | 46 | |
| 50 | 47 | // Add plugin action links - works with or without Elementor |
| 51 | 48 | add_filter('plugin_action_links', array($this, 'plugin_actions_links'), 10, 2); |
| 52 | 49 | |
| @@ -209,11 +206,8 @@ | ||
| 209 | 206 | * @return void |
| 210 | 207 | * @since 0.0.1 |
| 211 | 208 | */ |
| 212 | 209 | public static function dispatch_actions( ) { |
| 213 | - $menuObj = new Menu(); | |
| 214 | - $menuObj->init(); | |
| 215 | - | |
| 216 | 210 | $bpElementorWidgetObj = new Widget(); |
| 217 | 211 | |
| 218 | 212 | $bpImportObj = new Import(); |
| 219 | 213 | |