Download the PHP package chandrapatel/wp-custom-settings without Composer
On this page you can find all versions of the php package chandrapatel/wp-custom-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chandrapatel/wp-custom-settings
More information about chandrapatel/wp-custom-settings
Files in chandrapatel/wp-custom-settings
Package wp-custom-settings
Short Description Allows developers to create a custom admin menu page with settings using Settings API without registering callbacks to every settings section and field.
License GPL-2.0+
Homepage https://github.com/chandrapatel/wp-custom-settings
Informations about the package wp-custom-settings
WP Custom Settings
Allows developers to create a custom admin menu page with settings using Settings API without registering callbacks to every settings section and field.
Supported form elements and input types
- Textarea
- Select
- Input Types
- Text
- Password
- Url
- Tel
- Number
- Color
- Date
- Datetime-local
- Month
- Week
- Time
Installation
The plugin is available as a Composer package.
Note: If you are not using Composer then I'd suggest to add WP Custom Settings main file in your theme or plugin instead of adding as standalone plugin. This way you can modify it as per your need and avoid dependency.
Usage
You need to create an object of WP_Custom_Settings
class and it accepts three arguments to create menu page, register setting and sections & fields.
Please check example.php file.