An open API service indexing awesome lists of open source software.

https://github.com/wp-papi/papi-property-table

Papi - Table property
https://github.com/wp-papi/papi-property-table

Last synced: 3 months ago
JSON representation

Papi - Table property

Awesome Lists containing this project

README

          

# Papi - Table property

Table property for Papi.

## Installation

This property requires [Papi](https://wp-papi.github.io/) plugin.

If you're using Composer to manage WordPress, add Papi to your project's dependencies. Run:

```sh
composer require frozzare/papi-property-table
```

## Usage

```php
$v ) {
$fields[$k][1] = get_post_meta( $_GET['post'], $v[1], true );
}

$this->box( [
'title' => 'Facility information',
'context' => 'side'
], [
papi_property( [
'sidebar' => false,
'title' => 'Facility information',
'type' => 'table',
'settings' => [
'items' => $fields
]
] )
] );
```

## License

MIT © [Fredrik Forsmo](https://github.com/frozzare)