How to create a subpage in the dashboard?

[ad_1]

Hello, I want to create a subpage in the dashboard.
I added it to the file Utils.php = class Utils->default_menus() the informations

array(
'my-subpage'	=> array(
'title' => __( 'My Subpage', 'tutor' ),
'icon'  => 'icon',
)

Also, I created the page template file in templates/dashboard/my-subpage.php
But when I enter myapp/dashboard/my-subpage gives error 404

Do I need to do anything else to be able to create a subpage on the dashboard?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer