Skip to content

Get posts and users from a wordpress instance with WP REST API plugin

Notifications You must be signed in to change notification settings

dnode/dwordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Dependency Status devDependency Status

Example

const dwordpress = require('dwordpress')('url');
dwordpress('query', (posts, users) => {
  for (const post of posts) {
    const user = users[post.author];
  }
});

About

Get posts and users from a wordpress instance with WP REST API plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published