How to create the page in WordPress plugin development. Clicking on button then a new page is created and also the URL created, so how to create that?

Can any tell me how to create that as I know how to register_post_type.
register_post_type( $post_type(‘post_type’),
array(
‘labels’ => array(
‘name’ => $post_type(‘name’),
‘singular_name’ => $post_type(‘singular_name’),
‘menu_name’ => $post_type(‘menu_name’),
‘name_admin_bar’ => $post_type(‘name_admin_bar’),
‘archives’ => $post_type(‘archives’),
‘attributes’ => $post_type(‘attributes’),
‘parent_item_colon’ => $post_type(‘parent_item_colon’),
‘all_items’ => $post_type(‘all_items’),
‘add_new_item’ => $post_type(‘add_new_item’),
‘add_new’ => $post_type(‘add_new’),
‘new_item’ => $post_type(‘new_item’),
‘edit_item’ => $post_type(‘edit_item’),
‘update_item’ => $post_type(‘update_item’),
‘view_item’ => $post_type(‘view_item’),
‘view_items’ => $post_type(‘view_items’),
‘search_items’ => $post_type(‘search_items’),
‘not_found’ => $post_type(‘not_found’),
‘not_found_in_trash’ => $post_type(‘not_found_in_trash’),
‘featured_image’ => $post_type(‘featured_image’),
‘set_featured_image’ => $post_type(‘set_featured_image’),
‘remove_featured_image’ => $post_type(‘remove_featured_image’),
‘use_featured_image’ => $post_type(‘use_featured_image’),
‘insert_into_item’ => $post_type(‘insert_into_item’),
‘uploaded_to_this_item’ => $post_type(‘uploaded_to_this_item’),
‘items_list’ => $post_type(‘items_list’),
‘items_list_navigation’ => $post_type(‘items_list_navigation’),
‘filter_items_list’ => $post_type(‘filter_items_list’)
)