Skip to content

wp-papi/papi-digster-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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