WordPress provides Settings API and Options API to create custom settings pages. Settings API provides benefits like visual consistency, robustness (future-proofing), and less work. Options API saves your settings options in the database.
Go through the Settings handbook page to learn the following topics.
Go through the Settings and Options API documentation and create a admin page to store the name of the user with the following requirements: