WP REST API – User Meta

WP REST API – User Meta Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,193 downloads
WP REST API – User Meta Icon

Try plugin: WP REST API – User Meta

We'll create fresh WordPress site with WP REST API – User Meta installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WP REST API – User Meta

This plugin include author meta (name, display_name, first_name, last_name, user_email) into the WordPress REST API (v2) without additional API reques …

3


0


0


0


1

updated: 4 years ago
since: 7 years ago
author: Ruhul Amin

Description

Now you have no need to make additional requests to get author info (name, display_name, first_name, last_name, user_email, user_registered date) from their id that is available in the default json response.

Now all these author data is available in ‘author_meta’ field from your json response.

For example in ‘wp-json/wp/v2/posts’ you can find default fields ‘author’ that contains only its id. With this plugin you can also find new ‘author_meta’ field that include details about author.

Before:
{

author: 1

}

After:
{

author_meta: {
ID:”1″,
display_name:”admin”,
user_email:”[email protected]”,
user_nicename:”admin”,
user_registered:”2016-03-01 21:25:23″
}

}

Credits

This plugin is created by Ruhul Amin