Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wpscholar/flex-fields
A library for working with fields in WordPress
https://github.com/wpscholar/flex-fields
wordpress wordpress-development wordpress-php-library
Last synced: 7 days ago
JSON representation
A library for working with fields in WordPress
- Host: GitHub
- URL: https://github.com/wpscholar/flex-fields
- Owner: wpscholar
- License: gpl-3.0
- Created: 2017-09-26T19:59:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T04:09:45.000Z (over 1 year ago)
- Last Synced: 2024-05-12T02:42:48.840Z (6 months ago)
- Topics: wordpress, wordpress-development, wordpress-php-library
- Language: JavaScript
- Homepage:
- Size: 5.76 MB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flex Fields
A library for working with fields in WordPress.
## Installation
- Run `composer require wpscholar/flex-fields`
- Make sure you require the `vendor/autoload.php` file in your project.## Usage
### Register a field
```php
'input',
'type' => 'email',
'value' => '[email protected]',
],
'default' // The group name, defaults to 'default'
);
```### Render a field
```php
## Contributors
This project exists thanks to all the people who contribute.