# add\_posts\_page

add submenu and page in page menu.

```php
function my_plugin_menu() {
	add_posts_page( "halo", "halo", "edit_posts", "mantap", "asa", 1) ;
}
add_action('admin_menu', 'my_plugin_menu');

function asa() {
    echo 'Welcome to My Custom Dashboard!';
}
```
