Settings Page

Overview

Use this tool to create custom code for Settings Pages with add_options_page function.

Usage

  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your project.
  • Or save it as a snippet and share with the community.

Examples

If you are still learning how to use this tool, check out the following examples:

The class name used in the code.
Name of the settings group used in register_setting.
Name of the options saved in the database.
Translation file Text Domain. Optional.
Settings page title.
Access permision capability.
The name of the layout function.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears below the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.

You must be logged in and have an active premium membership to use this generator.

Login     Join