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: 6 months ago
JSON representation

A library for working with fields in WordPress

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' => 'john.doe@gmail.com',
],
'default' // The group name, defaults to 'default'
);
```

### Render a field

```php

Micah Wood

## Contributors

This project exists thanks to all the people who contribute.


project contributors