When developing a plugin for WordPress, a lot of times you’ll want to create your own page of options within the administration area. To do so, you’ll usually use the
add_submenu_page() function to actually create the page; but then you’ll have to populate that page with the actual settings fields.
The first step in that process is to understand the
add_settings_field() function. This function accepts 6 different parameters. They are as follows: