mundschenk-at / wp-settings-ui
An object oriented interface to the WordPress Settings API
Installs: 15 839
Dependents: 3
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: >=7.4.0
- mundschenk-at/wp-data-storage: ^1.0
Requires (Dev)
- brain/monkey: ^2.2
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- mikey179/vfsstream: ~1
- mundschenk-at/phpunit-cross-version: dev-master
- phpcompatibility/php-compatibility: ^9.0
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^2
- phpstan/phpstan-mockery: ^2.0
- phpstan/phpstan-phpunit: ^2
- phpunit/phpunit: 9.*||10.*||11.*
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.4
- szepeviktor/phpstan-wordpress: ^2.0.0-rc.2
- wp-coding-standards/wpcs: ^3
This package is auto-updated.
Last update: 2025-01-11 21:10:18 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 (