mundschenk-at / wp-settings-ui
An object oriented interface to the WordPress Settings API
Installs: 15 614
Dependents: 3
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.0
- mundschenk-at/wp-data-storage: ^1.0
Requires (Dev)
- brain/monkey: ^2.0@dev
- dealerdirect/phpcodesniffer-composer-installer: ^0.5
- mikey179/vfsstream: ~1
- phpcompatibility/phpcompatibility-wp: ^2.0
- phpunit/phpunit: 5.*||6.*||7.*
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: dev-master
- wp-coding-standards/wpcs: ^2.0
This package is auto-updated.
Last update: 2024-12-11 15:54:17 UTC
README
A library providing an object-oriented interface to the WordPress Settings API.
Features
- A WordPress plugin's settings page can be specified as an array of textual properties.
- A plugin can provide additional custom controls by implementing the
Mundschenk\UI\Control
interface. - Standard controls included with the library:
- Checkbox (
Mundschenk\UI\Controls\Checkbox_Input
), - Text field (
Mundschenk\UI\Controls\Text_Input
), - Number field (
Mundschenk\UI\Controls\Number_Input
), - Hidden field (
Mundschenk\UI\Controls\Hidden_Input
), - Submit button (
Mundschenk\UI\Controls\Submit_Input
), - Select box (
Mundschenk\UI\Controls\Select
), - Plain text (
Mundschenk\UI\Controls\Display_Text
), and - Text Area (
Mundschenk\UI\Controls\Textarea
).
- Checkbox (