Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 661 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 661 Bytes

Digster extensions for Papi

License

Digster extensions for Papi.

Installation

$ composer require wp-papi/papi-digster-extensions

Example

Get field

<p>Hello {{ papi_get_field(1, 'name') }}!</p>

Get option

<p>Copyright {{ papi_get_option('site') }}</p>

Get slugs

{% for title, slugs in papi_get_slugs(1) %}
  <p>{{ title }}</p>
{% endfor %}

License

MIT © Fredrik Forsmo