Kasia Plugin WP-API All Terms
Adds support for the WP-API all terms plugin to Kasia
Made with ❤ at @outlandish
Install
npm install --save kasia-plugin-wp-api-all-terms
Import
// ES2015 // CommonJSvar KasiaWpApiAllTermsPlugin =
Initialise
Pass to Kasia via the plugins
option:
const kasiaReducer kasiaSagas =
Actions
Import:
fetchTerms()
Get all terms available.
Terms will be available at store.wordpress.terms
, for example:
categories: term_id: 3 tags: term_id: 16 technologies: term_id: 15
Universal Applications
makePreloader(WP)
- WP {Object} WP API instance
Returns a single saga generator.
Contributing
All pull requests and issues welcome!
- When submitting an issue please provide adequate steps to reproduce the problem.
- PRs must be made using the
standard
code style. - PRs must update the version of the library according to semantic versioning.
If you're not sure how to contribute, check out Kent C. Dodds' great video tutorials on egghead.io!
Author & License
kasia-plugin-wp-api-all-terms
was created by Outlandish and is released under the MIT license.