action( 'admin_menu', 'admin_menu' ); } public function admin_menu() { add_menu_page( __( 'AddonskitForElementor', 'addonskit-for-elementor' ), apply_filters( 'akef_title', 'AddonskitForElementor' ), 'manage_options', 'akef', [ $this, 'overview' ] ); add_submenu_page( 'akef', __( 'Dashboard', 'addonskit-for-elementor' ), __( 'Dashboard', 'addonskit-for-elementor' ), 'manage_options', 'akef', [ $this, 'overview' ], ); } public function overview() { echo 1212; } }