Title: Filter WP Api
Author: ogulcan
Published: <strong>30 سيپٽمبر 2017</strong>
Last modified: 21 آڪٽوبر 2017

---

پلگ انس ڳولھيو

![](https://ps.w.org/filter-wp-api/assets/banner-772x250.png?rev=1738881)

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://ps.w.org/filter-wp-api/assets/icon-256x256.png?rev=1738881)

# Filter WP Api

 کان: [ogulcan](https://profiles.wordpress.org/ogulcan/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/filter-wp-api.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/filter-wp-api/#description)
 * [جائزو](https://snd.wordpress.org/plugins/filter-wp-api/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/filter-wp-api/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/filter-wp-api/#developers)

 [سھائتا](https://wordpress.org/support/plugin/filter-wp-api/)

## وضاحت

If you ever used WP Rest API, you should have noticed that there are lots of fields
that even your client does not need. It makes no sense to load all fields for simple
list or even single post view.

This plugin aims to remove redundant fields on Rest API. For now, it’s only available
for posts.

#### Features

There are two endpoints: “compact” and “detailed.

 * “Compact” is useful for listing posts and Detailed is better for single post 
   view.
 * First image of featured media will be added as ‘image’ on detailed and compact.
 * Modified was used as default date.
 * Requires at least WordPress 4.7

## تصوير

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

[⌊screenshot-2.png⌉⌊screenshot-2.png⌉[

screenshot-2.png

## انسٽاليشن

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/filter-wp-api` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Filter Rest Api screen to configure the plugin
 4. Both endpoints are enabled as default

## FAQ

  How to use compact and detailed endpoints?

Just add “?_compact” or “?_detailed” to end of api url.

  Disabling plugin also disables rest api?

Nope. Just filtering fields will be disabled. Even you call endpoints, default data
will be available.

  Compact and detailed are not working for pages/category/author/media

Correct. This is a plugin that only filters for posts. Please stay tuned for more
features.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“Filter WP Api” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ ogulcan ](https://profiles.wordpress.org/ogulcan/)

[ترجمو ڪريو “Filter WP Api” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/filter-wp-api)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/filter-wp-api/)، چيڪ
ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/filter-wp-api/)، يا رڪنيت حاصل
ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/filter-wp-api/) پاران
[RSS](https://plugins.trac.wordpress.org/log/filter-wp-api/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 1.0

Initial version.

## ميٽا

 *  Version **1.1.0**
 *  Last updated **9 سالَ اڳ**
 *  Active installations **10 کان گھٽ**
 *  WordPress version ** 4.7 يا وڌيڪ **
 *  Tested up to **4.8.32**
 *  PHP version ** 5.2.4 يا وڌيڪ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/filter-wp-api/)
 * Tags
 * [api](https://snd.wordpress.org/plugins/tags/api/)[filter](https://snd.wordpress.org/plugins/tags/filter/)
   [wp-json](https://snd.wordpress.org/plugins/tags/wp-json/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/filter-wp-api/advanced/)

## درجه بندي

No reviews have been submitted yet.

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

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

## تعاون ڪندڙ

 *   [ ogulcan ](https://profiles.wordpress.org/ogulcan/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/filter-wp-api/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://github.com/ogulcan)