Title: WP REST API – User Meta
Author: Ruhul Amin
Published: <strong>9 أبريل، 2017</strong>
Last modified: 24 مارس، 2025

---

البحث عن الإضافات

![](https://ps.w.org/wp-rest-api-user-meta/assets/banner-772x250.png?rev=3217915)

هذه الإضافة **لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية**. قد لا
تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق
عند إستخدامها مع إصدارات حديثة من ووردبريس.

![](https://ps.w.org/wp-rest-api-user-meta/assets/icon-256x256.png?rev=3217900)

# WP REST API – User Meta

 بواسطة [Ruhul Amin](https://profiles.wordpress.org/ruhul105/)

[تنزيل](https://downloads.wordpress.org/plugin/wp-rest-api-user-meta.1.1.0.zip)

 * [تفاصيل](https://ar.wordpress.org/plugins/wp-rest-api-user-meta/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/wp-rest-api-user-meta/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/wp-rest-api-user-meta/#installation)
 * [التطوير](https://ar.wordpress.org/plugins/wp-rest-api-user-meta/#developers)

 [الدعم](https://wordpress.org/support/plugin/wp-rest-api-user-meta/)

## الوصف

Now you have no need to make additional requests to get author info from their id
that is available in the default json response.
 This plugin allows you to configure
which user meta fields should be included in the REST API response through an easy-
to-use admin interface.

#### Features

 * Configurable user meta fields
 * Includes avatar URL option
 * Shows user role information
 * No additional API requests needed
 * Clean implementation

#### Available Fields

 * Nickname
 * Description
 * User URL
 * First Name
 * Last Name
 * User Email
 * Role
 * Avatar

**Example Response:**
 { “id”: 1, “title”: “Sample Post”, “author”: 1, “author_meta”:{“
first_name”: “John”, “last_name”: “Doe”, “role”: “administrator”, “avatar”: “https://
secure.gravatar.com/…” } }

#### Credits

This plugin is created by [Ruhul Amin](https://www.linkedin.com/in/arruhulamin/)

### Support

For support, please visit http://www.ruhulamin.me/

## لقطات الشاشة

 * [[
 * Settings page under Settings -> REST User Meta
 * [[
 * Example of REST API response with user meta data

## التنصيب

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Go to Settings -> REST User Meta to configure which fields to include

## الأسئلة المتكررّة

### Where can I find the settings page?

The settings page is located under Settings -> REST User Meta in your WordPress 
admin panel.

### How do I access the user meta in the API response?

The user meta data is included in the `author_meta` object of each post in the REST
API response.

### Can I add custom meta fields?

Currently, the plugin supports a predefined set of common user meta fields. Custom
fields support may be added in future versions.

## المراجعات

![](https://secure.gravatar.com/avatar/c7ecaf55670ef5f225634e84852b658612435fbf11cdf6311a8afab697fe5151?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-4416/)󠁿

 [ympervej86](https://profiles.wordpress.org/ympervej86/) 29 يونيو، 2020

I used it for on of my projects and happy with it. Helped me what I needed.

![](https://secure.gravatar.com/avatar/1ac808c74428ced3cf32c50f2927b4ed037fef5b8ca14d9640db174349eef036?
s=60&d=retro&r=g)

### 󠀁[I got an error](https://wordpress.org/support/topic/i-got-an-error-2/)󠁿

 [rayanawad](https://profiles.wordpress.org/rayanawad/) 23 مارس، 2018

Hey, When I try to activate the plugin I got this error “Parse error: syntax error,
unexpected ‘[‘ in D:\hshome\rayanabd\api.crazywebtag.com\wp\wp-content\plugins\wp-
rest-api-user-meta\wp_rest_api_usermeta.php on line 37” WP Version 4.9.4

![](https://secure.gravatar.com/avatar/2dda74ee8e9417ae56528ebb1465241f3271ff703bc929ded5bac91bcb87cad8?
s=60&d=retro&r=g)

### 󠀁[Only return null](https://wordpress.org/support/topic/only-return-null/)󠁿

 [jacobahlberg](https://profiles.wordpress.org/jacobahlberg/) 18 ديسمبر، 2017

I just installed the plugin, but it always return a null value even if there is 
an author.

![](https://secure.gravatar.com/avatar/075d14627203a4ec1f1c80bdd267313da7644b415bdefb91a5ef6ee100a5d6a5?
s=60&d=retro&r=g)

### 󠀁[Easy to use.](https://wordpress.org/support/topic/easy-to-use-1369/)󠁿

 [Ruhul Amin](https://profiles.wordpress.org/ruhul105/) 14 أبريل، 2017

Just installed, activated this plugin and use it without any other configuration

 [ إقرأ جميع المراجعات 4 ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/)

## المساهمون والمطوّرون

“WP REST API – User Meta” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل
في هذه الإضافة.

المساهمون

 *   [ Ruhul Amin ](https://profiles.wordpress.org/ruhul105/)

[ترجمة ”WP REST API – User Meta“ إلى لغتك.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-user-meta)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/wp-rest-api-user-meta/)،
تحقق من [مستودع SVN](https://plugins.svn.wordpress.org/wp-rest-api-user-meta/)، 
أو الاشتراك في [سجل التطوير](https://plugins.trac.wordpress.org/log/wp-rest-api-user-meta/)
بواسطة [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-user-meta/?limit=100&mode=stop_on_copy&format=rss).

## سجل التغييرات

#### 1.1.0

 * Added settings page under Settings menu
 * Added configurable user meta fields
 * Added avatar URL option
 * Added user role support
 * Improved code organization
 * Removed unnecessary debug information

#### 1.0.0

 * Initial release

## ميتا Meta

 *  Version **1.0.0**
 *  Last updated **قبل سنة واحدة**
 *  Active installations **30+**
 *  WordPress version ** 4.4 أو أعلى **
 *  Tested up to **6.7.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-user-meta/)
 * Tags
 * [api](https://ar.wordpress.org/plugins/tags/api/)[JSON](https://ar.wordpress.org/plugins/tags/json/)
   [rest-api](https://ar.wordpress.org/plugins/tags/rest-api/)[user meta](https://ar.wordpress.org/plugins/tags/user-meta/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/wp-rest-api-user-meta/advanced/)

## التقييم

 4 من 5 نجوم.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-rest-api-user-meta/reviews/)

## المساهمون

 *   [ Ruhul Amin ](https://profiles.wordpress.org/ruhul105/)

## الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

 [عرض منتدى الدعم](https://wordpress.org/support/plugin/wp-rest-api-user-meta/)