Title: Filter WP Api
Author: ogulcan
Published: <strong>2017-يىلى 30-سېنتەبىر</strong>
Last modified: 2017-يىلى 21-ئۆكتەبىر

---

قىستۇرما ئىزدە

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](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://ug.wordpress.org/plugins/filter-wp-api/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/filter-wp-api/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/filter-wp-api/#installation)
 * [ئىجادىيەت](https://ug.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-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/) تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/filter-wp-api/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/filter-wp-api/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0

Initial version.

## Meta

 *  Version **1.1.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **9 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10 دىن ئاز**
 *  WordPress نەشرى ** 4.7 ياكى يۇقىرى **
 *  **4.8.28** دا سىنالغان
 *  PHP نەشرى ** 5.2.4 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/filter-wp-api/)
 * بەلگە
 * [api](https://ug.wordpress.org/plugins/tags/api/)[filter](https://ug.wordpress.org/plugins/tags/filter/)
   [wp-json](https://ug.wordpress.org/plugins/tags/wp-json/)
 *  [ئالىي كۆرۈنۈش](https://ug.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)

[بارلىق ئىنكاسنى كۆرسەت](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)