Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 533 Bytes

api-reference-readme.md

File metadata and controls

7 lines (4 loc) · 533 Bytes

WPAPI Code Reference

Welcome to the API Reference for the wpapi NPM package.

Running require( 'wpapi' ) returns the WPAPI constructor, which you can read about by clicking its name in the class list in the menu. Each request handler factory on WPAPI (such as .posts(), .pages(), etc.) returns a WPRequest object, conditionally augmented with one or more mixins depending on the capabilities of the associated endpoints.

For user guides & tutorials, visit wp-api.org/node-wpapi/.